Function useEventHandler

  • Like the useEvent RFC but implemented in userland as well as it goes.

    Type Parameters

    • In extends unknown[]

    • Out

    Parameters

    • func: Fn<In, Out>

      unstable function

    Returns Fn<In, Out>

    stable function reference that will call the input function

Generated using TypeDoc