@celo/base › "task" › RunningTask
Interface: RunningTask
Represent a running task that can be stopped
Examples: A poller, a watcher.
Hierarchy
- RunningTask
Index
Methods
Methods
isRunning
▸ isRunning(): boolean
Defined in packages/sdk/base/src/task.ts:13
Indicates wether the task is running
Returns: boolean
stop
▸ stop(): void
Defined in packages/sdk/base/src/task.ts:11
Flag task to be stopped. Might not be inmediate
Returns: void