Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 229 Bytes
package slatekit.functions.policy
import slatekit.results.Outcome
/**
* @param I : Input type
* @param O : Output type
*/
interface Policy<I, O> {
suspend fun run(i: I, operation: suspend(I) -> Outcome<O>): Outcome<O>
}
You can’t perform that action at this time.