Net.TcpAccept
eff TcpAcceptSourceThe effect used to accept a TCP server connection.
Operations
def accept(server: TcpServer): Result[IoError, TcpSocket] \ TcpAccept
SourceDefinitions
def handle(f: a -> b \ ef): a -> b \ (ef - TcpAccept) + IO
SourceHandles the TcpAccept effect of the given function f.
In other words, re-interprets the TcpAccept effect using the IO effect.
@DefaultHandler def runWithIO(f: Unit -> a \ ef): a \ (ef - TcpAccept) + IO
SourceRuns the TcpAccept effect of the given function f.
In other words, re-interprets the TcpAccept effect using the IO effect.