Selva Compute API Reference - v1.5.1
    Preparing search index...

    Interface SolveSchedulerOptions

    interface SolveSchedulerOptions {
        cache?: boolean | CacheOptions;
        maxConcurrent?: number;
        mode?: SchedulerMode;
        onSettle?: (ctx: SolveContext, result: SolveResult) => void;
        onStart?: (ctx: SolveContext) => void;
        onSuperseded?: (ctx: SolveContext) => void;
        retry?: RetryPolicy;
        timeoutMs?: number;
    }
    Index

    Properties

    cache?: boolean | CacheOptions

    Enable response caching keyed by hash of (definition, dataTree).

    maxConcurrent?: number
    onSettle?: (ctx: SolveContext, result: SolveResult) => void
    onStart?: (ctx: SolveContext) => void

    Lifecycle hooks — fired in order. Errors thrown by hooks are logged, not rethrown.

    onSuperseded?: (ctx: SolveContext) => void
    retry?: RetryPolicy
    timeoutMs?: number