I
EventHookOffHandle
testeddemoHandle 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 EventHookOffHandleProperties
| Property | Type | Description |
|---|---|---|
off | () => void | — |