/** * extension method for checking at compile time that we only dispatch objects derived from * base [Action] interface */ fun Store.dispatch_a(action:Action)=dispatch(action) /** * extension method for checking at compile time that we only dispatch objects derived from * base [StandardAction] interface */ fun Store.dispatch_sa(action:StandardAction)=dispatch(action)