Filter data with time condition

Hello , i have a question about filters , I want to know if I can add a time condition to the filter logic for example wait x ms before filtering the data , I tried that but it didn't work.

@COCO @endel any help please ?

Hi! I think filter is a part of schema, it solve what to send not when to send.
please make your decision outside the schema if you can.

@coco thank you for your response , I want to filter the data according to the distance but if the distance condition is not true I still want to send the data but after 100 ms for example , it is possible to do that with the filter otherwise how can I add this condition time if the filter return false ?

How about using clock with room.brocast()?

@coco do you have an example please ?