MyGit

v0.7.2

slawlor/ractor

版本发布时间: 2023-02-15 23:14:28

slawlor/ractor最新发布版本:v0.12.0(2024-10-04 22:31:32)

Ractor version 0.7.2 adds support for instant spawning!

This release adds support for spawning actors "instantly" in that we don't wait on the pre_start routine. This is helpful if you want to immediately have access to the ActorRef<TActor> so you can begin sending messages to it without blocking on the pre_start routine.

However if the pre_start fails for any reason, it won't be captured unless the specific join handle is handled manually to monitor the spawning error. Internal documentation is updated to reflect this. Additionally since this is a specialized feature, the functionality is not supported directly on the Actor trait, but only with usage of the ActorRuntime directly.

Additionally we're adding a small auto-implementation for types which implement BytesSerializable such that they are automatically implementing ractor::Message and can be network-sent. This makes most of the built-in numeric types, (), Strings, and vectors of such able to directly used as message types in a cluster context.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2023-02-15发行的版本