mise API - v0.0.0
    Preparing search index...

    Interface TaskSource

    Where a backend's long-running steps come from: one kind of task (ChRIS: its plugin instances; an infrastructure backend: its install steps).

    interface TaskSource {
        id: string;
        label: string;
        mounted?: boolean;
        list(): Promise<Task[]>;
        log?(id: string): Promise<string | null>;
    }
    Index
    id: string

    Its name, and its folder: /proc/<id>.

    label: string

    What an operator reads it as.

    mounted?: boolean

    The backend mounts /proc/<id> itself (ChRIS's /proc/jobs, a tree of feeds and instances); otherwise the core mounts each task as a folder of its fields.

    • One task's log, whole; absent, its logTail is its log.

      Parameters

      • id: string

      Returns Promise<string | null>