Closed dhouse-js closed 3 years ago
Adds a new function to the interface, flush_with_reason : t -> ([ `Shift | `Drain ] -> unit) -> unit, which is like flush but it gives the callback information on why it is being called.
flush_with_reason : t -> ([ `Shift | `Drain ] -> unit) -> unit
flush
Adds a new function to the interface,
flush_with_reason : t -> ([ `Shift | `Drain ] -> unit) -> unit
, which is likeflush
but it gives the callback information on why it is being called.