forked from apple/swift-nio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NIOLoopBound(Box) uncheckedValue
**Summary**: This commit adds unchecked version of init and value get+set of `NIOLoopBound` and `NIOLoopBoundBox`. **Motivation**: - Closes apple#2506. **Changes**: - Added `init` and `public var uncheckedValue` properties to both `NIOLoopBound` and `NIOLoopBoundBox`. **Review & help** - [x] Tests pass locally. - [ ] How should we test that `NIOLoopBound.init(uncheckedEventLoop:)` calls `assertInEventLoop`? `EmbeddedEventLoop` seems to be final — how do I mock the assert function on in elegantly, without copy and pasting all the protocol conformance stuff?
- Loading branch information
1 parent
e0d8554
commit a272a54
Showing
1 changed file
with
57 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters