# Method Filesystem.Monitor.basic()->monitor_factory()

Method monitor_factory

  ``protected` `DefaultMonitor` monitor_factory(`string` `path`, `MonitorFlags`|`void` `flags`, `int(0..)`|`void` `max_dir_check_interval`, `int(0..)`|`void` `file_interval_factor`, `int(0..)`|`void` `stable_time`)`

Description

  Create a new Monitor for a `path`.

  This function is called by monitor() to create a new Monitor object.

  The default implementation just calls DefaultMonitor with the same arguments.

See also

  monitor(), DefaultMonitor