Skip to content

Commit

Permalink
Add once trigger
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Nov 21, 2024
1 parent 2b14c46 commit f9d19e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actors/util/channels/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const link = (...signals: AbortSignal[]): AbortSignal => {
if (!ctrl.signal.aborted) {
ctrl.abort(evt);
}
});
}, { once: true });
}
return ctrl.signal;
};
Expand Down

0 comments on commit f9d19e7

Please sign in to comment.