pekko icon indicating copy to clipboard operation
pekko copied to clipboard

Polish Behavior api

Open He-Pin opened this issue 6 months ago • 0 comments

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

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

He-Pin avatar Sep 03 '25 03:09 He-Pin