compose

open fun compose(other: Facet<C, M>, commonAncestor: KClass<M>): Facet<C, M>

Composes this Facet with other which means that when receive is called its result will be passed to other's receive when the Response is Pass (until all options are exhausted, in this case Pass will be returned).

Sources

(source)
Link copied to clipboard