GitHub

CompactFn

API reference for CompactFn.

A compactor: the entries of its events and write for what it keeps. remote is true during a remote compaction, which only drops entries.

Functions

__call__

__call__(entries, write, /, *, remote=False) -> Effect[None]
ParameterTypeDescription
entriesSequence[Entry]
writeCompactWrite
remotebool = False

Returns Effect[None]

def __call__(
    self, entries: Sequence[Entry], write: CompactWrite, /, *, remote: bool = False
) -> Effect[None]: ...