TcpBind
eff TcpBindSourceThe effect used to bind a TCP server.
Operations
def bind(ip: IpAddr, port: Int16): TcpServer \ TcpBind
 SourceDefinitions
def handle(f: a -> b \ ef): a -> Result[IoError, b] \ (ef - TcpBind) + IO
 SourceHandles the TcpBind effect of the given function f.
In other words, re-interprets the TcpBind effect using the IO effect.
def runWithIO(f: Unit -> a \ ef): Result[IoError, a] \ (ef - TcpBind) + IO
 SourceRuns the TcpBind effect of the given function f.
In other words, re-interprets the TcpBind effect using the IO effect.