Skip to content

Commit

Permalink
fix(router): rename setSignalProvider callback detail to requestParam
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Mar 4, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e276f52 commit 6e09f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/signal/src/signal.ts
Original file line number Diff line number Diff line change
@@ -140,7 +140,7 @@ export function requestSignal<SignalName extends keyof VatrRequestSignals>(
*/
export function setSignalProvider<SignalName extends keyof VatrRequestSignals>(
signalName: SignalName,
signalCallback: (signalValue: VatrRequestSignals[SignalName]) => void | Promise<void>,
signalCallback: (requestParam: VatrRequestSignals[SignalName]) => void | Promise<void>,
): symbol {
log('setSignalProvider(%s)', signalName);
// @TODO: refactor with removeSignalProvider

0 comments on commit 6e09f87

Please sign in to comment.