backgroundTasks.status
Whether the OS lets this app run in the background.
Usage
Check whether background execution is allowed.
// Check whether background execution is allowed.
import { backgroundTasks } from 'kuito';
const status = await backgroundTasks.status(); // 'available' | 'denied' | 'restricted'Signatures
(): 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.