network-transport-0.2.0.2: Network abstraction layer
Network.Transport.Util
Description
Utility functions
Note: this module is bound to change even more than the rest of the API :)
Synopsis
spawn :: Transport -> (EndPoint -> IO ()) -> IO EndPointAddressSource
Fork a new thread, create a new end point on that thread, and run the specified IO operation on that thread.
Returns the address of the new end point.