kernl API
    Preparing search index...

    Interface ForwardedKeys

    Decides which keys.forward envelopes never reach the guard or the runtime.

    interface ForwardedKeys {
        drops(
            windowId: string,
            message: unknown,
            focused: boolean,
            at: number,
        ): boolean;
        forget(windowId: string): void;
    }
    Index
    • Whether an envelope is a forwarded key to discard: one from a window that is not the focused one, or the repeat of the key that window forwarded last.

      Parameters

      • windowId: string
      • message: unknown
      • focused: boolean
      • at: number

      Returns boolean

    • Forget a window's last key.

      Parameters

      • windowId: string

      Returns void