BuildLease

tcmts.cli.web.BuildLease · #ngdahf2j · type

Builds, and shared assets, a process is using: pruning (in any process) leaves them.

export interface BuildLease {
  readonly builds: readonly string[];
  readonly assets: readonly string[];
  /** hold these instead (what's given replaces what's held of it) */
  hold(what: { builds?: readonly string[]; assets?: readonly string[] }): void;
  release(): void;
}

used by