Skip to content
  • Cheng Shao's avatar
    a5e5b1bf
    ghc-experimental: add mkWeakJSVal · a5e5b1bf
    Cheng Shao authored
    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.
    
    (cherry picked from commit 55af20e6)
    (cherry picked from commit 2788a597)
    a5e5b1bf
    ghc-experimental: add mkWeakJSVal
    Cheng Shao authored
    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.
    
    (cherry picked from commit 55af20e6)
    (cherry picked from commit 2788a597)
Loading