Usage

Check whether background execution is allowed.

tsx
// Check whether background execution is allowed.
import { backgroundTasks } from 'kuito';

const status = await backgroundTasks.status(); // 'available' | 'denied' | 'restricted'

Signatures

ts
(): Promise<Status>

Parameters

No parameters.

Returns

Promise<Status>

Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.