final class Config
See docs for custom sources
See docs for custom sources
- Companion
- object
class Object
trait Matchable
class Any
Value members
Concrete methods
Create a version of a config that only runs start / stop if the predicate passes.
Create a version of a config that only runs start / stop if the predicate passes.
start
will be run when the CustomSource is about to start ifpasses
returns true at that timestop
will be run when the CustomSource is about to stop if yourstart
code ran the last time CustomSource started