You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
johnmcclean-aol edited this page Nov 21, 2016
·
2 revisions
All cyclops-react types implement the To interface, the goal of To is to allow fluent conversion from the type that implements To to any other. A fluent-custom operation is simply a special case that converts the source type back to another instance of the same type.
Custom conversion
Example: if we define a static toStream method on a Streams class we can use it to fluently convert from a target type that implements To to a Stream.