Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Implement act.
  • Loading branch information
jnthn committed Apr 21, 2014
1 parent be57b26 commit a364a1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Supply.pm
Expand Up @@ -101,6 +101,10 @@ my role Supply {
}
method merge(*@s) { SupplyOperations.merge(self, @s) }
method zip(*@s,:&with) { SupplyOperations.zip(self, @s, :&with) }

method act(&actor) {
self.do(&actor).tap(|%_)
}
}

# The on meta-combinator provides a mechanism for implementing thread-safe
Expand Down

0 comments on commit a364a1f

Please sign in to comment.