mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-21 08:41:35 +00:00
Bindings for Proxy.revocable()
Signed-off-by: Stephan Renatus <srenatus@chef.io>
This commit is contained in:
@ -1042,6 +1042,12 @@ extern {
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy
|
||||
#[wasm_bindgen(constructor)]
|
||||
pub fn new(target: &JsValue, handler: &Object) -> Proxy;
|
||||
|
||||
/// The Proxy.revocable() method is used to create a revocable Proxy object.
|
||||
///
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/revocable
|
||||
#[wasm_bindgen(static_method_of = Proxy)]
|
||||
pub fn revocable(target: &JsValue, handler: &Object) -> Object;
|
||||
}
|
||||
|
||||
// Set
|
||||
|
Reference in New Issue
Block a user