DelegatedAction

fun <R> Endpoint.DelegatedAction(block: suspend () -> R): ApiAction<R>

Creates an ApiAction that is resolved with passed lambda block.

Return

New ApiAction with passed block.

Parameters

block

Executed action block.