@5minds/processcube_app_sdk
Version:
The SDK for ProcessCube Apps
9 lines (8 loc) • 533 B
TypeScript
import { IExternalTaskWorkerConfig } from '@5minds/processcube_engine_client';
export type ExternalTaskConfig = Omit<IExternalTaskWorkerConfig, 'identity' | 'workerId'>;
/**
* Subscribe to external tasks.
* @param {string} customEtwRootDirectory Optional path to the external tasks directory. Uses the Next.js app directory by default.
* @returns {Promise<void>} A promise that resolves when the external tasks are subscribed
* */
export declare function subscribeToExternalTasks(customEtwRootDirectory?: string): Promise<void>;