10BC0 docs: improve EventStream doc by Roiocam · Pull Request #32348 · akka/akka-core · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@Roiocam
Copy link
Contributor
@Roiocam Roiocam commented Mar 20, 2024

Motivation

Some improvements for event stream documentation, maybe it isn't necessary?

@Roiocam Roiocam force-pushed the event-stream-improve branch from bce1e99 to 5e44c38 Compare March 20, 2024 05:10
@Roiocam Roiocam force-pushed the event-stream-improve branch from 5e44c38 to e8be86e Compare March 20, 2024 05:11
@Roiocam Roiocam marked this pull request as draft March 20, 2024 09:43
@Roiocam Roiocam marked this pull request as ready for review March 26, 2024 10:20
Copy link
Contributor
@johanandren johanandren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not convinced this improves much on the existing docs

val adapter = context.messageAdapter[DeadLetter](d => d.message.toString)
def apply(): Behavior[DeadLetter] = Behaviors.setup { context =>
// subscribe DeadLetter at start up.
val adapter = context.messageAdapter[DeadLetter](d => d)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for an adapter then, if the actor already accepts DeadLetter

@Roiocam Roiocam force-pushed the event-stream-improve branch from acbfbc0 to 7747bca Compare August 24, 2024 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0