retainCanonicalScope method

WASIComponentResourceScopeLease? retainCanonicalScope()

Retains an ambient allocation scope when the embedder supplied one.

Implementation

WASIComponentResourceScopeLease? retainCanonicalScope() =>
    _currentScope?.retain();