Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
stwa committed May 8, 2019
1 parent dc2cdd8 commit 287ff6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/signal.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ export function signal(state) {
/**
* A signalFn is a signal that computes its state by running `fn`. It keeps
* track of and connects to all referenced input signals during the function
* call. If the state of any of the connected input signals change, the state of
* signalFn gets re-computed (which means re-running `fn`). The state hold by the
* signalFn is the return value of `fn` and can be preset using `state`. Like
* with signals, outputs can be connected. Whenever the state of a signalFn
* call. If the state of any of the connected input signals changes, the state
* of signalFn gets re-computed (which means re-running `fn`). The state held by
* the signalFn is the return value of `fn` and can be preset using `state`.
* Like with signals, outputs can be connected. Whenever the state of a signalFn
* changes, all connected outputs will be triggered.
*/
export function signalFn(fn, state) {
Expand Down

0 comments on commit 287ff6c

Please sign in to comment.