R
I

EventHookOffHandle

testeddemo

Handle returned from {@link EventHook.on}. It is both a callable that removes the listener and an object exposing an `off` method, so either of these work: ```ts const off = on(fn); off(); const { off } = on(fn); off(); ```

Demo

Loading demo…

Signature

ts
interface EventHookOffHandle

Properties

PropertyTypeDescription
off() => void