Skip to main content

Lease

@rotorsoft/act-root


@rotorsoft/act-root / act/src / Lease

Type Alias: Lease

Lease = object

Defined in: libs/act/src/types/reaction.ts:84

Lease information for stream processing.

Properties

at

at: number

Defined in: libs/act/src/types/reaction.ts:87

The lease timestamp.


block

block: boolean

Defined in: libs/act/src/types/reaction.ts:89

Whether the stream is blocked.


by

by: string

Defined in: libs/act/src/types/reaction.ts:86

The lease holder.


error?

optional error: unknown

Defined in: libs/act/src/types/reaction.ts:90

Optional error info.


retry

retry: number

Defined in: libs/act/src/types/reaction.ts:88

Retry count.


stream

stream: string

Defined in: libs/act/src/types/reaction.ts:85

The stream name.