MCPcopy
hub / github.com/dvajs/dva / addDelay

Function addDelay

packages/dva-core/test/effects.test.js:18–21  ·  view source on GitHub ↗
({ payload }, { put, call })

Source from the content-addressed store, hash-verified

16 },
17 effects: {
18 *addDelay({ payload }, { put, call }) {
19 yield call(delay, 100);
20 yield put({ type: 'add', payload });
21 },
22 },
23 });
24 app.start();

Callers

nothing calls this directly

Calls 1

putFunction · 0.85

Tested by

no test coverage detected