getStarter()function
getStarter(start: StartCallback<T> | Starter<T>): Starter<T>
| Param | Type | |
|---|---|---|
start | StartCallback<T>Starter<T> |
| Return | |
|---|---|
Starter<T> | Wrapper class to handle state on start/stop callback process. |
Get a Starter from a PossibleStarter.
Examples
getStarter(() => () => {}) // Starter instance