Skip to content

Commit

Permalink
fix: action handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
izatop committed Jul 20, 2022
1 parent 0c59410 commit 836360e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/queue/src/Dispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class Dispatcher<C extends Context> extends Disposer implements IRunnable
return this;
}

public on(handlers: ActionTransactionHandlers): void {
public on(handlers: ActionTransactionHandlers<C>): void {
this.#unit.on(handlers);
}
}

0 comments on commit 836360e

Please sign in to comment.