Improve queue management error handling
This commit is contained in:
@@ -38,9 +38,11 @@ type EventQueueServiceOptions<Payload extends JsonValue, State extends JsonValue
|
||||
export class EventQueueService<Payload extends JsonValue, State extends JsonValue> {
|
||||
private _lastCleanDate: Date = new Date(0);
|
||||
readonly cfg: EventQueueServiceOptions<Payload, State>["cfg"];
|
||||
readonly type: EventType
|
||||
|
||||
constructor(private readonly opt: EventQueueServiceOptions<Payload, State>) {
|
||||
this.cfg = opt.cfg;
|
||||
this.type = opt.type;
|
||||
}
|
||||
|
||||
get lastCleanDate() { return this._lastCleanDate; };
|
||||
|
||||
Reference in New Issue
Block a user