backgroundTasks.cancel
Stops the OS from running the task.
Usage
Disable a scheduled background task.
// Disable a scheduled background task.
import { backgroundTasks } from 'kuito';
await backgroundTasks.cancel('sync');Signatures
(name: string): Promise<void>Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
Returns
Promise<void>
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.