#actor in filter plugin

I want to use `actor.every(interval) { ... }` in filter plugins such as fluent-plugin-grepcounter.