PerKey

class PerKey<C>(val block: suspend (C) -> String)

Captures an effect-key lambda for use with the once per { } DSL syntax.

Created by calling per { ctx -> key } in the saga step chain.

Parameters

C

The context type.

Constructors

Link copied to clipboard
constructor(block: suspend (C) -> String)

Properties

Link copied to clipboard
val block: suspend (C) -> String

Lambda that computes a stable, non-blank effect-key from context.