ReferenceScripting APISignalonce
Signal.once
methodListens to it once.
| Name | once |
|---|---|
| Kind | method of Signal |
| Called as | signal.once(…) |
| Since | 0.3 |
Syntax
once(fn: (...values: Values) => void): (...values: Values) => voidParameters
| Name | Type | Description |
|---|---|---|
fn | (...values: Values) => void | What runs, the next time |
Returns
(...values: Values) => void: the function bound.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.