slawlor / ractor

Rust actor framework
MIT License
1.3k stars 66 forks source link

Factory improvements #232

Closed slawlor closed 1 month ago

slawlor commented 2 months ago
  1. Draining of requests
  2. Lifecycle hooks
  3. Worker startup custom arguments which can be thread through the factory's worker builder
  4. Discarding reasoning

Potentially to come in the future, dynamic worker pool management and queueing management.

This is an API break, and therefore requires a major revision change to 0.10.0

The signature of the basic actor primatives, etc hasn't changed, but given we're adding new arguments and functionality to factories that isn't default-extendible this must be considered as an api break as users can't upgrade-in-place here.

slawlor commented 1 month ago

Closed for another branch without a merge operation in it