@flowscripter/io-plugin-filesystem-native
    Preparing search index...

    Interface NativeWaker

    Delivers readiness notifications from the native I/O threads to the JS thread. A handle that got WOULD_BLOCK from a non-blocking entry point awaits ready(handle), and the native side resolves it once that handle can make progress.

    interface NativeWaker {
        close(): void;
        open(): void;
        ready(handle: number): Promise<void>;
    }

    Implemented by

    Index
    • Releases a handle's claim on the channel, tearing it down when none remain.

      Returns void

    • Starts the notification channel for a new handle; every open is paired with a close.

      Returns void

    • Resolves when the native side next reports handle ready.

      Parameters

      • handle: number

      Returns Promise<void>