@aninest/extensions / AbortSignal
AbortSignal
Wraps any extension with an addAbortSignal
function to allow to remove the extension from the animation with an AbortController.
Index
Type Aliases
Type alias | Description |
---|---|
SignalOption | An object that contains an AbortSignal option within the signal field. |
Functions
Function | Description |
---|---|
addAbortSignal | Adds the option to add an AbortSignal to any function which returns a function to undo its effects. |