-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bootstraps: offer ELG validation (#1464)
Motivation: Today, we just expect the ELGs passed to the bootstraps to be the correct ones, if not, we crash. Modifications: Offer an alternative `validatingGroup:` `init` that just returns `nil` if the ELGs are of the wrong types. Result: Easier to work with multi-stack systems for example when the user might pass an ELG for either NIO on Sockets or NIO on Network.framework.
- Loading branch information
Showing
3 changed files
with
228 additions
and
10 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
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
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