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
richardszalay edited this page May 20, 2011
·
3 revisions
Creates a plan from a pattern (see when for more details)
function Pattern.then(selector:Function) : Plan@
Where selector is a function that accepts one argument for each sequence in the pattern. The class of each argument can be determined from Pattern.types.
Example: function (x : sourceAClass, y : sourceBClass) : returnClass