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

    Class AwaitableWake

    Turns a wake callback into Promises.

    Pass AwaitableWake.wake as the callback of any wake, 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, but the wake callback alone doesn't. 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.