-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic Documentation for Spawner Class #5767
Conversation
var genStream; | ||
var priorityQ; | ||
var now; | ||
var event; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not see any cases of these variables used outside of this class, nor accessed through this
. They may as well be private.
@@ -29,8 +29,8 @@ Spawner : Pattern { | |||
^stream; | |||
} | |||
|
|||
seq { | pat | | |||
pat.embedInStream(event) | |||
seq { | pattern | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this argument name to be consistent with the argument name in par
. I wouldn't normally do this, but this class is undocumented, and it's unlikely anyone used the keyword argument syntax for this method in their existing code.
@@ -34,7 +34,7 @@ Stop all substreams of the Spawner. | |||
:: | |||
|
|||
note:: | |||
We should move the documentation of above methods to the link::Classes/Spawner:: helpfile... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the inspiration for this change.
Note to self: make a note of the argument change in the Changelog; me and @joshpar think it's fine. |
Purpose and Motivation
This adds some basic documentation.
Types of changes
To-do list