functionResource

suspend fun functionResource(name: String, block: suspend FunctionResourceBuilder.() -> Unit): Function

See also

Parameters

name

The unique name of the resulting resource.

block

Builder for Function.