Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Index of class methods


B
blocked [Lwt_stream]

Is a thread is blocked on Error a_api: exception Dune__exe__Api.Error("\"bounded_push\" is not a valid module name") ?


C
cleanup [Lwt_engine]
cleanup [Lwt_engine]

Cleanup resources associated with the engine.

close [Lwt_process]

Closes the process and returns its exit status.

close [Lwt_stream]

Closes the stream.

closed [Lwt_stream]

Is the stream closed ?

count [Lwt_stream]

Number of elements in the stream queue.


D
destroy [Lwt_engine]

Destroy the engine, remove all its events and free its associated resources.


F
fake_io [Lwt_engine]

I
iter [Lwt_engine]
iter [Lwt_engine]

K
kill [Lwt_process]

kill signum sends signum to the process if it is still running.


L
loop [Lwt_engine]

Returns loop.

loop [Lwt_engine.Versioned]
loop [Lwt_engine.Versioned]

O
on_readable [Lwt_engine]
on_timer [Lwt_engine]
on_writable [Lwt_engine]

P
pid [Lwt_process]

Pid of the sub-process

poll [Lwt_engine]

poll fds tiomeout, where fds is a list of tuples of the form (fd, check_readable, check_writable), waits for either:

push [Lwt_stream]

Pushes a new element to the stream.


R
readable_count [Lwt_engine]
register_readable [Lwt_engine]
register_readable [Lwt_engine]
register_timer [Lwt_engine]
register_timer [Lwt_engine]
register_writable [Lwt_engine]
register_writable [Lwt_engine]
resize [Lwt_stream]

Change the size of the stream queue.

rusage [Lwt_process]

Threads which wait for the sub-process to exit then returns its resource usages


S
select [Lwt_engine]

select fds_r fds_w timeout waits for either:

set_reference [Lwt_stream]

Set the reference to an external source.

size [Lwt_stream]

Size of the stream.

state [Lwt_process]

Return the state of the process

status [Lwt_process]

Threads which wait for the sub-process to exit then returns its exit status

stderr [Lwt_process]
stdin [Lwt_process]
stdin [Lwt_process]
stdin [Lwt_process]

The standard input of the process

stdout [Lwt_process]
stdout [Lwt_process]
stdout [Lwt_process]

The standard output of the process


T
terminate [Lwt_process]

Terminates the process.

timer_count [Lwt_engine]
transfer [Lwt_engine]

transfer engine moves all events from the current engine to engine.


W
writable_count [Lwt_engine]