Skip to main content

revocable

Function revocable 

Source
pub fn revocable(args: &[Value]) -> Result<Value, String>
Expand description

Proxy.revocable(target, handler) → { proxy, revoke }. The revoker is a builtin thunk keyed by the proxy’s heap index, so calling it twice is the no-op the spec asks for rather than a second teardown.