createServerMultiAction$
createServerMultiAction$
creates a controller for dispatching and managing multiple simultaneous submissions of an async user action, where the action always runs on the server.
tsx
const [, acting ] = act (async ( createServerMultiAction$ ) => { args // do something})
tsx
const [, acting ] = act (async ( createServerMultiAction$ ) => { args // do something})
Usage
Bring Multi Actions to the Server
createServerMultiAction$
is the server$
function enhanced version of createRouteMultiAction
. It has the same API except it always runs on the server.
Reference
Refer to createRouteMultiAction for API reference.