Usage

Disable a scheduled background task.

tsx
// Disable a scheduled background task.
import { backgroundTasks } from 'kuito';

await backgroundTasks.cancel('sync');

Signatures

ts
(name: string): Promise<void>

Parameters

NameTypeRequiredDescription
namestringYes—

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.