DnsWithResult
eff DnsWithResultSourcean effect for resolving a domain name to an ip address
Operations
def lookup(host: String): Result[IoError, IpAddr] \ DnsWithResult
 Sourcedef lookupAll(host: String): Result[IoError, List[IpAddr]] \ DnsWithResult
 SourceDefinitions
def handle(f: a -> b \ ef): a -> b \ (ef - DnsWithResult) + IO
 SourceHandles the DnsWithResult effect of the given function f.
In other words, re-interprets the DnsWithResult effect using the IO effect.
def runWithIO(f: Unit -> a \ ef): a \ (ef - DnsWithResult) + IO
 SourceHandles the DnsWithResult effect of the given function f.
In other words, re-interprets the DnsWithResult effect using the IO effect.