Skip to main content

Module memoized

Module memoized 

Source
Expand description

Memoized transport wrapper that caches results of remote function calls.

Caches results by SHA-256(destination || payload) using an LRU cache. Intercepts Transport::send before forwarding to the inner transport, returning the cached result when available.

Structsยง

MemoConfig
Configuration for the memoized transport.
MemoStats
Cache hit/miss statistics.
MemoizedTransport
Memoized transport wrapper with LRU eviction.