Skip to content

Commit

Permalink
fix example bug
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Sep 8, 2018
1 parent 1fb3758 commit 0d3bec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/js-nutshell.pod6
Expand Up @@ -434,7 +434,7 @@ C<Supply.tap> is multithreaded; if this is undesirable, use C<Supply.act>
instead:
=begin code
my $supply = IO::Socket::Async.listen('localhost', 8000)
my $supply = IO::Socket::Async.listen('localhost', 8000);
my $server = $supply.tap(-> $conn {
$conn.Supply.tap(-> $data {
say $data; # RESULT: ayy lmao
Expand Down

0 comments on commit 0d3bec5

Please sign in to comment.