UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

6 lines • 424 B
import type { BackgroundComputation } from './backgroundContract'; export declare function useBackgroundComputation<Input, Output>(definition: BackgroundComputation<Input, Output>, input: Input | null): { result: import("./backgroundContract").BackgroundResult<Output> | null; getCurrent: () => import("./backgroundContract").BackgroundResult<Output> | null; }; //# sourceMappingURL=useBackgroundComputation.d.ts.map