DoxigAlpha

once

Function parameters

Parameters

#
f:fn () void

Functions in this namespace

Functions

#
Once
An object that executes the function `f` just once.

Source

Implementation

#
pub fn once(comptime f: fn () void) Once(f) {
    return Once(f){};
}