akka/akka-core

Fold inHandlers, outHandlers into GraphLogic to avoid redundat object creation

Open

#19,752 opened on Feb 11, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Scala (3,547 forks)batch import
1 - triagedhelp wantedt:stream

Repository metrics

Stars
 (13,277 stars)
PR merge metrics
 (Avg merge 8d 19h) (10 merged PRs in 30d)

Description

Example can be simple stage like LastOptionStage where GraphStageLogic can have onPush, onUpstreamFinish methods and then handler can be added like: setHandler(in,this).

Base on @rkuhn comment: https://github.com/akka/akka/pull/19634/files#r52571768

Contributor guide