Skip to content

Commit

Permalink
Merge pull request #200 from effector/zarabotaet-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova authored Apr 26, 2022
2 parents 0d89ed2 + 562bad4 commit ee298d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/delay/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,10 @@ import { createEvent, createStore } from 'effector';
import { delay } from 'patronum/delay';

const update = createEvent<string>();
const $data = createStore('');
const $timeout = createStore(500);

const logDelayed = delay({
source: $data,
source: update,
timeout: $timeout,
});

Expand Down

0 comments on commit ee298d7

Please sign in to comment.