Skip to main content

keep_last_n

Method
This is a method of the HandoffFilters class in the handoff module.
Keep only the last n messages

Signature

def keep_last_n(n: usize) -> impl Fn(HandoffInputData) -> HandoffInputData

Parameters

n
usize
required
No description available.

Returns

Returns
impl Fn(HandoffInputData) -> HandoffInputData
The result of the operation.