Closed dpc closed 8 years ago
@troplin @Drakulix
mioco::start
should return a io::Result<T>
IMO, as does JoinHandle::join()
Otherwise, what would you return on panic or shutdown?
Right @troplin . Updated the description.
Seems reasonable. Although I don't mind the current design.
Wasn't that hard.
FnOnce() -> T
, theResult<T>
return type is unnecessaryT
JoinHandle
Result<T>
of the starting function, just likeJoinHandle::join()
.