The emitter parameter pattern is a design technique for SPI (Service Provider Interface) contracts in libraries and frameworks. Instead of returning values from SPI methods, the framework passes an 'emitter' object as a parameter, and implementations call methods on it to produce output. This avoids problems with

6m read timeFrom morling.dev
Post cover image

Sort: