Type alias Connection

Connection: Job<void>

A Connection is a job that returns void when the connected stream ends itself. If the stream doesn't end itself (e.g. it's an event listener), the job will never return, and only end with a cancel or throw.