MCPcopy Create free account
hub / github.com/byte-fe/react-model / delayMiddleware

Function delayMiddleware

__test__/index.ts:223–226  ·  view source on GitHub ↗
(context, restMiddlewares)

Source from the content-addressed store, hash-verified

221}
222
223const delayMiddleware: Middleware = async (context, restMiddlewares) => {
224 await timeout(1000, {})
225 context.next(restMiddlewares)
226}
227
228export const NextCounterModel: ModelType<
229 CounterState,

Callers

nothing calls this directly

Calls 1

timeoutFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…