Skip to content
  • Cheng Shao's avatar
    55af20e6
    ghc-experimental: add mkWeakJSVal · 55af20e6
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    This commit adds a mkWeakJSVal function that can be used to set up a
    Weak pointer with a JSVal key to observe the key's lifetime and
    optionally attach a finalizer.
    55af20e6
    ghc-experimental: add mkWeakJSVal
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    This commit adds a mkWeakJSVal function that can be used to set up a
    Weak pointer with a JSVal key to observe the key's lifetime and
    optionally attach a finalizer.
Loading