Skip to content

Instantly share code, notes, and snippets.

@EricDw
Created November 22, 2018 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EricDw/6fe41088c3dbc35218d04f37448f02ae to your computer and use it in GitHub Desktop.
Save EricDw/6fe41088c3dbc35218d04f37448f02ae to your computer and use it in GitHub Desktop.
Using the by keywaord to delegate functionality to a passed parameter.
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