pub fn wrap_with_target(endpoint: &JsValue, target: &JsValue) -> JsValue
Returns a proxy for endpoint whose calls are applied to target.
endpoint
target