# Class System.FSEvents.BlockingEventStream

Inheritance graph

Description

  A variation of EventStream that provides a blocking interface.

Note

  A quirk of the underlying IO subsystem in CoreFoundation is that there is exactly one runloop per thread. Because FSEvents uses CoreFoundation, this means that there's no meaningful way to specify which backend should process these events. Therefore, always make sure that the thread you create the EventStream object is the same one you read events from, otherwise read_event will run not run the EventLoop that this EventStream is registered with, resulting in events never being delivered.

Inherit EventStream

  `inherit .EventStream : EventStream`

Method create

  `System.FSEvents.BlockingEventStream System.FSEvents.BlockingEventStream(`array`(`string`) `paths`, `float` `latency`, `int`|`void` `since_when`, `int`|`void` `flags`)`