-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default Machine::spawned implementation #11
Comments
@seanmonstar any pointers? My use cases are:
The (3) looks more like exception rather than rule. There are many more cases that does have The The Does it make sense? |
Yes, that makes sense. I agree, I don't expose |
Each time I've implemented Machine, I've used the exact same function body for the
spawned
method. Perhaps a default implementation could be provided?Slightly related, but perhaps more controversial: Maybe Machine could provide default stubs for other less important methods also, like
mio::Handler
does. Such astimeout
andwakeup
defaulting to just returnok(self)
.The text was updated successfully, but these errors were encountered: