CtxFunction

typealias CtxFunction<Context, Input, Result> = suspend (Context, Input) -> Result(source)

Similiar to Function but additionally accepts a context as an extra argument.

Parameters

Context

the type of the context

Input

the type of the argument

Result

the type of the result