ExecutionContext

class ExecutionContext @InternalWowApi constructor(val executionId: ExecutionId, contextQueries: ContextQueries) : SubscriptionContext

The context of a projection's or a reactor's handler for one execution; its queries are contextQueries' of the commit's tenant.

Constructors

Link copied to clipboard
constructor(executionId: ExecutionId, contextQueries: ContextQueries)
constructor(executionId: ExecutionId)

The context of the execution executionId, without queries: a domain module's test calls a projection or a reactor with it. It differs from the primary constructor in taking no ContextQueries, the node's, which is an internal type the public API cannot name.

Properties

Link copied to clipboard
open override val executionId: ExecutionId
Link copied to clipboard
open override val queries: SubscriptionQueries

Functions

Link copied to clipboard
open override fun toString(): String