Actions
Feature #20715
closed`Ractor.[]` and `Ractor.[]=` to access Ractor local storage
Feature #20715:
`Ractor.[]` and `Ractor.[]=` to access Ractor local storage
Description
Trivial proposal.
Now Ractor#[]/#[]= is supported to access current ractor local storage. However, it doesn't allow to access local storage of other ractors.
So providing Ractor.[]/[]= is more reasonable.
Further more, we don't need to use Ractor#current and it is slightly faster.
Actions