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

    Type Alias Wake

    Wake: { callback?: () => void } | NativeRegistration<"Wake">

    A callback that tells the caller when work is ready.

    The callback runs asynchronously on the JavaScript thread that registered it, after native queues the call.

    See mln_wake in the C API reference.

    Type Declaration

    • { callback?: () => void }
      • Optionalcallback?: () => void

        Null to turn the wake off.

    • NativeRegistration<"Wake">