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

Function put

packages/dva-core/src/getSaga.js:102–106  ·  view source on GitHub ↗
(action)

Source from the content-addressed store, hash-verified

100 );
101 }
102 function put(action) {
103 const { type } = action;
104 assertAction(type, 'sagaEffects.put');
105 return sagaEffects.put({ ...action, type: prefixType(type, model) });
106 }
107
108 // The operator `put` doesn't block waiting the returned promise to resolve.
109 // Using `put.resolve` will wait until the promsie resolve/reject before resuming.

Callers 15

addFunction · 0.85
addDelayFunction · 0.85
changeCountDelayFunction · 0.85
processFunction · 0.85
testFunction · 0.85
addFunction · 0.85
effects.test.jsFile · 0.85
onEffectFunction · 0.85
addRemoteFunction · 0.85
addBothFunction · 0.85
[ADD_DELAY]Function · 0.85
addRemoteFunction · 0.85

Calls 2

assertActionFunction · 0.85
prefixTypeFunction · 0.85

Tested by 11

addFunction · 0.68
addDelayFunction · 0.68
changeCountDelayFunction · 0.68
processFunction · 0.68
testFunction · 0.68
addFunction · 0.68
onEffectFunction · 0.68
addRemoteFunction · 0.68
addBothFunction · 0.68
[ADD_DELAY]Function · 0.68
addRemoteFunction · 0.68