Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make Supply.for default to CurrentThreadScheduler
  • Loading branch information
lizmat committed Jun 5, 2014
1 parent a83d819 commit 9644b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/SupplyOperations.pm
Expand Up @@ -69,7 +69,7 @@ my class SupplyOperations is repr('Uninstantiable') {
OnDemandSupply.new(:&producer, :&closing, :$scheduler)
}

method for(*@values, :$scheduler = $*SCHEDULER) {
method for(*@values, :$scheduler = CurrentThreadScheduler) {
my class ForSupply does Supply {
has @!values;
has $!scheduler;
Expand Down

0 comments on commit 9644b26

Please sign in to comment.