Expand description
Background Executor - Runs callables in background mode
The executor handles different background execution modes:
- FireAndForget: Don’t wait for result, no streaming
- Silent: Wait for result, but suppress streaming events
- Deferred: Queue for later execution
@see packages/enact-schemas/src/execution.schemas.ts
Structs§
- Background
Execution - BackgroundExecution - A background execution record @see packages/enact-schemas/src/execution.schemas.ts - backgroundExecutionSchema
- Background
Execution Config - BackgroundExecutionConfig - Configuration for background execution @see packages/enact-schemas/src/execution.schemas.ts - backgroundExecutionConfigSchema
- Background
Execution Queue - BackgroundExecutionQueue - Queue for managing background executions This is an in-memory implementation for testing. Production uses Redis/Postgres.
Enums§
- Background
Execution Mode - BackgroundExecutionMode - How to run a background callable @see packages/enact-schemas/src/execution.schemas.ts - backgroundExecutionModeSchema
- Background
Execution Status - BackgroundExecutionStatus - Status of a background execution @see packages/enact-schemas/src/execution.schemas.ts - backgroundExecutionStatusSchema