Skip to main content

Proxy pattern

A proxy stands in front of another object and controls how callers reach it.

For example, a JavaScript Proxy can make the first method call wait for connection setup before forwarding the call to the original object.

Share: