olive/watcher

The watcher module watches a list of dir and triggers a FilesChanged message to be handled by calling code.

Types

pub opaque type InternalMsg
pub type Message {
  FilesChanged
}

Constructors

  • FilesChanged

Functions

pub fn start(
  watch_subject: Subject(Message),
) -> Result(Subject(InternalMsg), StartError)
Search Document