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

Function delay

packages/dva-core/test/effects.test.js:4–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { create } from '../src/index';
3
4const delay = timeout => new Promise(resolve => setTimeout(resolve, timeout));
5
6describe('effects', () => {
7 it('put action', done => {

Callers 1

addRemoteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected