asCaller

fun asCaller(caller: Caller, block: AggregateSpec<S>.() -> Unit)

Runs block with caller sending the commands that name no caller of their own, as aggregateSpec's caller does for the whole specification: a scenario of several callers, the owner then another user, say.