Module Transport_intf.Handler_result
type 'a t
=
|
Stop of 'a
|
Continue
|
Wait of unit Async_kernel.Deferred.t
Result of an
on_message
callback. We split theContinue
andWait _
cases to make it clear thatContinue
is the expected case. The implementation should be optimized for this case.