GOnceStatus

The possible statuses of a one-time initialization function controlled by a #GOnce struct.

Values

ValueMeaning
NOTCALLED0

the function has not been called yet.

PROGRESS1

the function call is currently in progress.

READY2

the function has been called.

Meta