resolve

abstract suspend fun resolve(key: String): ResolvedEffect<R>

Looks up whether the side effect identified by key has already been applied.

Return

ResolvedEffect.Found with the recorded result, ResolvedEffect.NotFound if the effect has not been applied, or ResolvedEffect.Error if the lookup itself failed.

Parameters

key

The effect-key computed by the step's effectKey lambda.