123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- import { App } from '../app';
- import { TaskOptions } from './functions-api';
- export declare class Functions {
- readonly app: App;
- private readonly client;
-
- taskQueue<Args = Record<string, any>>(functionName: string, extensionId?: string): TaskQueue<Args>;
- }
- export declare class TaskQueue<Args = Record<string, any>> {
- private readonly functionName;
- private readonly client;
- private readonly extensionId?;
-
- enqueue(data: Args, opts?: TaskOptions): Promise<void>;
-
- delete(id: string): Promise<void>;
- }
|