Skip to content

Commit

Permalink
fix: remove timer prop
Browse files Browse the repository at this point in the history
  • Loading branch information
luckasRanarison committed Jan 9, 2025
1 parent e54b954 commit f030c3a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export class AsyncMessenger<Broker, M, A> {
#send: MessengerSend<Broker, M>;
#stop: MessengerStop<Broker>;

#timer?: ReturnType<typeof setInterval>;
#timeoutSecs: number;

protected constructor(
Expand All @@ -57,7 +56,6 @@ export class AsyncMessenger<Broker, M, A> {
);
logger.info(`close worker ${this.constructor.name}`);
await this.#stop(this.broker);
clearInterval(this.#timer);
}

execute(
Expand Down

0 comments on commit f030c3a

Please sign in to comment.