DaVinciAware

public protocol DaVinciAware

A protocol for types that need access to the DaVinci workflow instance. Conforming types can receive the DaVinci instance to perform workflow-related actions such as advancing the flow, accessing shared context, or building requests.

Typical conformers are collectors that must send follow-up requests or need to read data from the current workflow context.

  • The active DaVinci workflow instance, if available. Implementers should set this when creating or injecting collectors that need to interact with the DaVinci workflow.

    Declaration

    Swift

    var davinci: DaVinci? { get set }