Remove magic `this` from tasks
See original GitHub issueTasks will lose access to this
during definition.
What used to be:
exports.default = function * (opts) {
yield this.source(opts.src || 'src/**')...
}
Now looks like this:
exports.default = function * (fly, opts) {
yield fly.source(opts.src || 'src/**')...
}
Note: The
opts
param is conditionally populated in both cases. This is already an implemented behavior.
Need Feedback
For 2.0
, I think users should still have access to this
but it will not be documented or encouraged.
Then in 3.0
, the binding to this
will be removed entirely.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Tasks - Fandom - Black Magic II Wiki
Tasks are a checklist of randomized achievements that reward the player ... Before removal, the player would be assigned 4 random Weekly Tasks...
Read more >Remove magic-i.exe - how to permanently delete the file from ...
In Task Manager windows, click "Processes" pane. Than select magic-i.exe and press "Delete" key). Detailed guide. Clean your computer on a regular basis....
Read more >Editing a Task - RootsMagic Wiki
To edit a task: Select the Tasks page. Select the task you want to edit from the task list.
Read more >Removing a relationship - MagicDraw 18.5
To remove a relationship from the diagram pane. Select a relationship and click Remove From Diagram (Delete) in the Diagram toolbar.
Read more >View / Stop the Scheduled Actions / Messages - SMS-Magic
Delete the scheduled tasks which you want to. For Workflow Rule: Go to setup search for “Time-Based Workflow” in the quick find box....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome!!!
This is fantastic