• Type Parameters

    • T

    Parameters

    • Optional local: boolean
    • Optional scope: string

    Returns ((...args: [panelId: string, fn: ((state: any) => any)]) => Promise<void>)

      • (...args: [panelId: string, fn: ((state: any) => any)]): Promise<void>
      • Returns a function that will run the callback that was passed when calling this hook. Useful for accessing Recoil state in response to events.

        Parameters

        • Rest ...args: [panelId: string, fn: ((state: any) => any)]

        Returns Promise<void>

Generated using TypeDoc