ActixStream::{poll_read_ready, poll_write_ready}
would returnReady
in Ok variant. [#293]
[#293] #293
- Add
ActixStream
extension trait to include readiness methods. #276 - Re-export
tokio::net::TcpSocket
innet
module #282
- Add
Arbiter::handle
to get a handle of an owned Arbiter. #274 - Add
System::try_current
for situations where actix may or may not be running a System. #275
- Expose
JoinError
from Tokio. #271
- Remove
run_in_tokio
,attach_to_tokio
andAsyncSystemRunner
. #253 - Return
JoinHandle
fromactix_rt::spawn
. #253 - Remove old
Arbiter::spawn
. Implementation is now inlined intoactix_rt::spawn
. #253 - Rename
Arbiter::{send => spawn}
andArbiter::{exec_fn => spawn_fn}
. #253 - Remove
Arbiter::exec
. #253 - Remove deprecated
Arbiter::local_join
andArbiter::is_running
. #253 Arbiter::spawn
now accepts !Unpin futures. #256System::new
no longer takes arguments. #257- Remove
System::with_current
. #257 - Remove
Builder
. #257 - Add
System::with_init
as replacement forBuilder::run
. #257 - Rename
System::{is_set => is_registered}
. #257 - Add
ArbiterHandle
for sending messages to non-current-thread arbiters. #257. System::arbiter
now returns an&ArbiterHandle
. #257Arbiter::current
now returns anArbiterHandle
instead. #257Arbiter::join
now takes self by value. #257
- Add
task
mod with re-export oftokio::task::{spawn_blocking, yield_now, JoinHandle}
#245 - Add default "macros" feature to allow faster compile times when using
default-features=false
.
- Add
System::attach_to_tokio
method. [#173]
- Update
tokio
dependency to1.0
. #236 - Rename
time
moduledelay_for
tosleep
,delay_until
tosleep_until
,Delay
toSleep
to stay aligned with Tokio's naming. #236 - Remove
'static
lifetime requirement forRuntime::block_on
andSystemRunner::block_on
.- These methods now accept
&self
when calling. #236
- These methods now accept
- Remove
'static
lifetime requirement forSystem::run
andBuilder::run
. #236 Arbiter::spawn
now panics whenSystem
is not in scope. #207
- Fix work load issue by removing
PENDING
thread local. #207
This version has been yanked.
- Expose
System::is_set
to check if current system has ben started #99 - Add
Arbiter::is_running
to check if event loop is running #124 - Add
Arbiter::local_join
associated function to get be able toawait
for spawned futures #94
- Update dependencies
- Fix compilation on non-unix platforms
- Migrate to tokio 0.2
Added
-
Export
main
andtest
attribute macros -
Export
time
module (re-export of tokio-timer) -
Export
net
module (re-export of tokio-net)
- Migrate to std::future and tokio 0.2
- Fix arbiter's thread panic message.
- Allow to join arbiter's thread. #60
- Add arbiter specific storage
- Avoid a copy of the Future when initializing the Box. #29
- Allow to start System using exsiting CurrentThread Handle #22
- Moved
blocking
module toactix-threadpool
crate
-
Added
blocking
module -
Arbiter::exec_fn - execute fn on the arbiter's thread
-
Arbiter::exec - execute fn on the arbiter's thread and wait result
-
run
method returnsio::Result<()>
-
Removed
Handle
- Initial release