Interface ReadonlyMiddlewareReturn

Return type for readonly middleware.

interface ReadonlyMiddlewareReturn {
    allowWrite: <R>(fn: () => R) => R;
    dispose: ActionMiddlewareDisposer;
}

Properties

Properties

allowWrite: <R>(fn: () => R) => R