@meld-ts/core
    Preparing search index...

    Type Alias PendingFnParams

    pendingFn 回调函数接收的参数

    type PendingFnParams = {
        scope: string;
        getPendingCount: () => number;
    }
    Index

    Properties

    scope: string

    解析后的 scope key

    getPendingCount: () => number

    获取与当前调用共享同一 inflight 的额外等待者数量

    首次触发者的 counter 初始为 0,后续并发 caller 会累加。 值为 0 表示只有当前调用在执行,无其他并发 caller 等待。