Skip to content
Docs Try Aspire

wrapIfHandle

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
function wrapIfHandle(
value: unknown,
client?: AspireClient): unknown

Signature

method wrapIfHandle
Checks if a value is a marshalled handle and wraps it using the wrapper registry.
wrapIfHandle(
value: unknown,
client?: AspireClient): unknown
value unknown
client AspireClient optional
unknown