Stream.apex

Stream.apex is a library that streamlines your Funcs in Apex.

Why Stream.apex?

In Stream.apex, a stream is an event-driven list of objects. We can chain operations on the stream, and the stream will emit events through all the operations one by one. In this way, streams do not create intermediate lists like most other list operations will do, and it is more efficient.

Efficiency

Stream.apex handles list operations based on event-driven streams, creating no intermediate lists.

Fluent API

Stream.apex favors a fluent functional API.

Unicast/Multicast

Stream.apex has mechanisms to support both unicasting and multicasting events.

Anothery Way to Process Lists

Thinking streams as lists, and you will pick it up fast.

Fluent API

Stream.apex has a fluent API to manage stream operations.

Fluent API

Multicast

Stream.apex has unicasting streams and multicasting subjects.

Multicast