ActionLinks

@available(*, deprecated, message: "Use DispatchObserverDispatchable instead")
public struct ActionLinks

A struct that contains the link source and all the linked actions that depends on the first one.

  • Initializer to create an ActionLinks. It must be public so other libs can export their own links.

    Declaration

    Swift

    public init(source: Action.Type, links: [LinkeableAction.Type])

    Parameters

    source

    the Action.Type that is the source of the link.

    links

    the array of dependant actions that should be invoked after the first.