Contents

exported(as:)

Exports this transient entity as a transferable intent value type.

Declaration

func exported<T>(as type: T.Type) async throws -> T where T : IntentValueConvertible, T : Transferable

Parameters

  • type:

    The target value type (e.g., IntentPerson.self).

Return Value

An instance of the requested type.

Discussion