MetadataCallback

public class MetadataCallback : AbstractCallback, MetadataCallbackProtocol, ObservableObject, @unchecked Sendable, ContinueNodeAware, JourneyAware

A callback for providing metadata that can transform into specialized callbacks based on content.

  • Declaration

    Swift

    public var journey: Journey?
  • Declaration

    Swift

    public var continueNode: ContinueNode?
  • The metadata value

    Declaration

    Swift

    private(set) public var value: [String : Any] { get }
  • Initializes a new instance of MetadataCallback with the provided JSON input.

    Declaration

    Swift

    public override func initValue(name: String, value: Any)
  • initialize(with:) Asynchronous

    Declaration

    Swift

    public override func initialize(with json: [String : Any]) async -> any Callback