Type alias DispatchAllowance

DispatchAllowance: {
    ok: true;
    maxSeconds: number;
} | {
    ok: false;
}

What IEntitlementHook.revalidateAllowance answers at dispatch: the seconds the run's reservation covers now, or a refusal.

Type declaration

  • ok: true
  • maxSeconds: number

Type declaration

  • ok: false