PersistentAI API Documentation / @persistentai/fireflow-executor / server / createServicesForAPI
Function: createServicesForAPI()
createServicesForAPI():
Promise<ServiceInstances>
Defined in: packages/fireflow-executor/server/services/ServiceFactory.ts:199
Create services for API (client-only mode)
- NO workflow execution capability
- Uses DBOSClient for enqueueing (official DBOS external client API)
- Uses DBOSClient.send() for signals (no DBOS runtime needed!)
- Uses DBOSClient.cancelWorkflow() for cancellation
This function does NOT call initializeDBOS(), preventing the API from launching a full DBOS runtime that could execute workflows locally.
Returns
Promise<ServiceInstances>