invoke

operator fun <C> invoke(block: suspend (C) -> String): PerKey<C>

Wraps an effect-key lambda in a PerKey descriptor.

Return

A PerKey descriptor for use with the once infix extension.

Parameters

C

The context type.

block

Lambda that computes the effect-key from context.