resource Guard Resource
suspend fun resourceGuardResource(name: String, block: suspend ResourceGuardResourceBuilder.() -> Unit): ResourceGuard
See also
Parameters
name
The unique name of the resulting resource.
block
Builder for ResourceGuard.