Skip to content

JsCreateWeakReference

Limin Zhu edited this page May 16, 2017 · 1 revision

Creates a weak reference to a value.

Syntax

CHAKRA_API
    JsCreateWeakReference(
        _In_ JsValueRef value,
        _Out_ JsWeakRef* weakRef);

Parameters

  • value: The value to be referenced.
  • weakRef.: Weak reference to the value.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

This API is experimental and may have breaking change later.

Clone this wiki locally