enum GLib::OnceStatus

Overview

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

Defined in:

auto/g_lib-2.0/g_lib.cr

Enum Members

Notcalled = 0_u32

the function has not been called yet.

Progress = 1_u32

the function call is currently in progress.

Ready = 2_u32

the function has been called.

Instance Method Summary

Instance Method Detail

def notcalled? #

def progress? #

def ready? #