Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a io = 'a Lwt.t
val register : t -> (id, Mirage_net.Net.error) Stdlib.result
Unregister the listener, then block until all callbacks return for this * id. Useful when listeners are called in async.
val write :
t ->
id ->
size:int ->
(buffer -> int) ->
(unit, Mirage_net.Net.error) Stdlib.result io