directives

abstract fun <A : Any> directives(type: String?, deserializer: (SerializedValue) -> A): Directives<A>

Query activity directives.

Parameters

type

Activity type name to filter by; queries all activities if null.

deserializer

a function from SerializedValue to an inner payload type


Queries activity directives, filtered by type, deserializing them as AnyDirective.


Queries all activity directives, deserializing them as AnyDirective.