Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Some reflow and grammar fixes
  • Loading branch information
JJ committed Nov 11, 2018
1 parent 5feaf6e commit d5d9448
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions doc/Type/Promise.pod6
Expand Up @@ -68,10 +68,11 @@ this method:
my $p1 = Promise.start({ ;#`( do something here ) });
my $p2 = start { ;#`( do something here ) };
As of 6.d language, C<start> statement prefix used in L<sink> context will
automatically attach an exceptions handler. If an exception occurs in the given
code, it will be printed and the program will then exit, like if it were
thrown without any C<start> statement prefixes involved.
As of the 6.d version of the language, C<start> statement prefix used in
L<sink> context will automatically attach an exceptions handler. If an
exception occurs in the given code, it will be printed and the program
will then exit, like if it were thrown without any C<start> statement
prefixes involved.
=begin code :solo
use v6.c;
Expand Down

0 comments on commit d5d9448

Please sign in to comment.