AuditKeyword

class AuditKeyword<C, R>(builder: SagaBuilder<C, R>)

Intermediate DSL node representing the audit keyword.

Call in (with backtick escape) to supply the journal and resolve the codec.

Example

keep.audit `in` roomJournal   // roomJournal: SagaJournal<OrderEvent>

Constructors

Link copied to clipboard
constructor(builder: SagaBuilder<C, R>)

Functions

Link copied to clipboard
infix inline fun <C, R, P : Any> AuditKeyword<C, R>.in(journal: SagaJournal<P>)

Supplies the journal and resolves the codec for the keep audit in journal chain.