Processor that filters frames using a custom filter function
FunctionFilter
is a flexible processor that uses a custom async function to determine which frames to pass through. This allows for complex, dynamic filtering logic beyond simple type checking.