FlowCollector

public class FlowCollector : SingleValueCollector, Submittable, Closeable, @unchecked Sendable

A collector for flow control actions, such as buttons or links.

This class is used to handle user interactions that trigger a flow action, like navigating to a different part of the flow.

  • Resets the collector’s state by clearing its value.

    Declaration

    Swift

    public func close()
  • Returns the event type for this collector.

    Declaration

    Swift

    public func eventType() -> String

    Return Value

    A string representing the event type, which is “action”.