Motivation:
Standardised formatting makes the project cleaner to look at and work
on.
Modifications:
Setup swift-format with the same settings as Swift-NIO
Result:
Common formatting throughout
Motivation:
It's important to ensure that child channel users can observe the
writability state of a child channel in order to avoid ballooning data
in memory. Up until now we haven't supported writability notifications,
but we really should.
Modifications:
- Added a flow controller to manage writability.
- Managed data flow through promises.
- Lots of tests.
Result:
Child channels will provide a much better signal as to whether they are
writable.