Type alias Lock<S, K>

Lock<S, K>: {
    key: K;
    scope: S;
    [dispose]() => void;
    dispose() => void;
}

Type Parameters

  • S = any

  • K extends string = string

Type declaration

  • key: K
  • scope: S
  • [dispose]:function
  • dispose:function