Create a side effect for the given handler, returning a new function that runs that side effect. Supports an optional prefetch data function, which can be used to pass data from before the main handler ran.
Optional
this.updateOrder = { ...this.updateOrder, handler: addHandlerSideEffect(this.updateOrder.handler, sendEmail, getOrder)}; Copy
this.updateOrder = { ...this.updateOrder, handler: addHandlerSideEffect(this.updateOrder.handler, sendEmail, getOrder)};
https://lodash.com/docs/4.17.15#flow
Generated using TypeDoc
Create a side effect for the given handler, returning a new function that runs that side effect. Supports an optional prefetch data function, which can be used to pass data from before the main handler ran.