Open wjdtn7823 opened 3 months ago
Unfortunately, actors are obsolete APIs, and we would like to avoid evolving them further or promoting their usage.
Could you please elaborate on the use-case where the actor is allowed to drop messages from its mailbox?
Use case
I want to build a ActorCoroutine via a Channel with Conflated Behavior and capacity. Reading the documentation, Channel should be build with capacity > 0 and, BufferOverFlow.DROP_OLDEST or BufferOverFlow.DROP_LATEST to accomplisth this.
However, the public actor API does not provide the way to build a Channel with BufferOverFlow Option
I tried to make a custom actor builder API, but ActorCoroutine and LazyActorCoroutine inside the actor builder is package private so this won't work. Is there a reason to restrict this behavior? or can you change the API like below?
The Shape of the API