closeTimeout constant

Duration const closeTimeout

How long a close waits for the peer's close frame, and then for the channel to flush.

Implementation

static const closeTimeout = Duration(seconds: 2);