package eio
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=ba11ad486f492130dbb486f2b3bdc4905643f10016806ddf86e9a34e4346aaa5
sha512=57ef2c137ccdc26d8029e636b6a4ee92da7c6b2f35954946bd56ca595d6947a8ec42f6f83f8552f73d6719e6ce2314cae2e2fad1686a387522935e6f90e9a8d9
doc/eio/Eio/Fiber/List/index.html
Module Fiber.ListSource
Concurrent list operations.
These functions behave like the ones in the standard library's List module, except that multiple items can be processed concurrently.
They correspond to Lwt's Lwt_list.*_p operations. e.g. Lwt_list.iter_p becomes Fiber.List.iter. For the Lwt_list.*_s operations, just use the standard library function. e.g. Lwt_list.iter_s can be replaced by a plain List.iter.
filter f x is like List.filter f x except that the invocations of f are run concurrently in separate fibers.
map f x is like List.map f x except that the invocations of f are run concurrently in separate fibers.
filter_map f x is like List.filter_map f x except that the invocations of f are run concurrently in separate fibers.
iter f x is like List.iter f x except that the invocations of f are run concurrently in separate fibers.