Make Scheduled's constructor public. (#290)
Make Scheduled's constructor public. (#290)

Motivation:

You need to be able to implement EventLoop.scheduleTask to implement
your own event loop. EventLoop.scheduleTask requires creating a
Scheduled. Currently, Scheduled has no public initializer.

Modifications:

Make Scheduled's initializer public.

Result:

It will be possible to actually implement EventLoop.
apple/swift-nio,apple/swift-nio,apple/swift-nio,apple/swift-nio,apple/swift-nio