TcpConnect
Effect for connecting to TCP servers, and its functions.
Operations
Definitions
def handle(f: a -> b \ ef): a -> b \ (ef - TcpConnect) + IO§ SourceHandles the TcpConnect effect of the given function f.
In other words, re-interprets the TcpConnect effect using the IO effect.
@DefaultHandler def runWithIO(f: Unit -> a \ ef): a \ (ef - TcpConnect) + IO§ SourceRuns the TcpConnect effect of the given function f.
In other words, re-interprets the TcpConnect effect using the IO effect.