apache / apache/pekko

Polish Behavior api

Open
#2,130 0 comments 0 reactions 0 assignees View on GitHub
t:typed
Dominant language
Scala
Stars
1.6k
Forks
211
Avg merge
1d 6h
Merged PRs (30d)
89

Description

The current one may be nested; we can make use of a chained call.
eg:
https://smallrye.io/smallrye-mutiny/latest/

```scala
request.ifNoItem().after(ofMillis(100))
.failWith(() -> new TooSlowException("💥"))
.onFailure(IOException.class).recoverWithItem(fail -> "📦")
.subscribe().with(
item -> log("👍 " + item),
err -> log(err.getMessage())
);
```

Contributor guide

Open the contributing guide

Research direction

No Pekko file, test, or entry point is named in the issue. Start by reviewing the linked SmallRye Mutiny example and the existing Pekko behavior API, then clarify the intended chaining design and affected API surface with maintainers. Done should mean an agreed API shape with corresponding implementation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.