@maplibre/native-ffi
    Preparing search index...

    Class AwaitableWake

    Turns a wake callback into Promises.

    Pass AwaitableWake.wake as any wake field, such as a render session's frame wake, or call it from a callback, such as a runtime's event handler. AwaitableWake.next resolves at the next wake. A wake that arrives while nothing waits is kept for the next call. A pending wait holds the event loop open, as every pending binding Promise does, while the wake callback alone keeps nothing alive. Draining stays explicit: a resolved wait means the receiver has work, which the caller then drains.

    Index
    wake: () => void = ...

    The wake callback to pass to native code or call from a callback.