addResource

open override fun addResource(resourceSpec: Any): <Error class: unknown class><Void>

Adds a resource to the async server.

Return

a Mono<Void> indicating completion or error

Parameters

resourceSpec

the resource specification, must be of type AsyncResourceSpecification