[][src]Function malice::event_iterator_from_files

pub fn event_iterator_from_files<I, S>(
    sources: I
) -> impl Iterator<Item = Event> where
    I: IntoIterator<Item = S> + Send + 'static,
    S: Into<Source> + Send

Main entry point for analyses running over ALICE's open data. Produces an iterator over events from an iterator over files (either local or remote).

The necessary IO is done on a separate thread such that IO bound tasks do not interfere with the CPU bound tasks of the analysis itself. If an IO error is encountered the respective file will be skipped.

This function is not available on the wasm32 target and must not be called from an asynchronous context itself.