Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias CapacityPlan

    bindingBefore and bindingAfter name the resource that set the worst interval's need

    type CapacityPlan = {
        after: number;
        before: number;
        bindingAfter: string | null;
        bindingBefore: string | null;
        intervals: number;
        retirable: number;
    }
    Index
    after: number

    nodes the worst interval needs once avoided work is removed

    before: number

    nodes the worst interval needs without spool

    bindingAfter: string | null

    resource that sets the need after spool; null when no interval needs a node

    bindingBefore: string | null

    resource that sets the need before spool; null when no interval needs a node

    intervals: number

    number of intervals in the plan

    retirable: number

    nodes spool makes unneeded: before minus after