Contents

register(action:)

Register a custom action of given type. Each type of custom action needs to be registered before it can be used.

Declaration

mutating func register<Action>(action type: Action.Type) where Action : BitwiseCopyable, Action : CustomAction

Parameters

  • type:

    The type of the custom action.