Created
November 22, 2018 03:48
-
-
Save EricDw/6fe41088c3dbc35218d04f37448f02ae to your computer and use it in GitHub Desktop.
Using the by keywaord to delegate functionality to a passed parameter.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PipelineBuilder<I>( | |
actorScope: ActorScope<I> | |
) : ActorScope<I> by actorScope { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment