onActionDispatch

Wraps the StorePlugin.onActionDispatch method of the child plugin passed in the block parameter.

The child StorePlugin.onActionDispatch method will not be invoked unless you manually call StorePlugin.onActionDispatch inside this block.

For pre-context parameters version, to correctly call the child method: child.run { onActionDispatch(action) }

See the DecoratorBuilder documentation for details on how this function behaves.