Revocable Proxies

Proxy.revocable and its behavior

We can also create revocable proxies using Proxy.revocable. This is useful when we pass proxies to other objects, but we want to keep a centralized control of when we want to shut down our proxy.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.