instances

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

Query activity instances.

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 instances, filtered by type, deserializing them as AnyInstance.


Queries all activity instances, deserializing them as AnyInstance.