-
Notifications
You must be signed in to change notification settings - Fork 541
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
Deprecate legacy APIs for 1.0 #1800
Labels
Milestone
Comments
This was referenced May 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version 1.0 introduces new APIs that render older APIs obsolete. Namely:
monitor(hdl)
->monitor(hdl, callback)
send(hdl, ...)
->mail(...).send(hdl)
request(hdl, timeout, ...)
->mail(...).request(hdl, timeout)
set_default_handler(...)
-> use[](message msg) { ... }
in thebehavior
insteadafter(...) >> callback
-> use the newset_idle_handler(...)
insteadaout(...)
-> useself->println(...)
insteadfunction_view
-> use ascoped_actor
withmail(...).request(...).receive()
This ticket depends on:
set_idle_handler
#1789 (forset_idle_handler
)mail
DSL)stash
is required to replaceset_default_handler(skip)
The text was updated successfully, but these errors were encountered: