You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2024/01/09 18:06:48 UTC
[I] Feature request: Add `runOn` method to RunnableGraph? [incubator-pekko]
He-Pin opened a new issue, #925:
URL: https://github.com/apache/incubator-pekko/issues/925
Motivation:
it would be very common when we want a dedicated graph run on x dispatcher, I suggest we add something like the reactor-core, which can be much clear than the current `addAttributes(ActorAttributes.dispatcher(dispatcher)`.
- `publishOn(dispatcher:String)` for Source
- `subscribeOn(dispatcher:String)` for Sink
- `runOn(dispatcher:String)` for RunnableGraph
eg:
```
def runOn(dispatcher:String)(implicit materializer: Materializer): Mat =
materializer.materialize(addAttributes(ActorAttributes.dispatcher(dispatcher)))
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Feature request: Add `runOn` method to RunnableGraph? [incubator-pekko]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin closed issue #925: Feature request: Add `runOn` method to RunnableGraph?
URL: https://github.com/apache/incubator-pekko/issues/925
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org