diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-11 14:56:52 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-11 14:56:52 +0200 |
commit | 3589b8e04ecc7e02674547c4738a54954f6758bc (patch) | |
tree | e1020afd1ad8aec931ca63aa5b88a9539a169a9e /docs | |
parent | 84294d0b5462d0a05fb5d53df5a64f7ee624a726 (diff) | |
download | lanes-3589b8e04ecc7e02674547c4738a54954f6758bc.tar.gz lanes-3589b8e04ecc7e02674547c4738a54954f6758bc.tar.bz2 lanes-3589b8e04ecc7e02674547c4738a54954f6758bc.zip |
New lane:__close does a lane:join()
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/index.html b/docs/index.html index 400ceb1..73753d7 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -1008,6 +1008,7 @@ | |||
1008 | <li><tt>nil, "killed"</tt> if forcefully killed.</li> | 1008 | <li><tt>nil, "killed"</tt> if forcefully killed.</li> |
1009 | <li>The return values of the lane function. If the first return value is <tt>nil</tt> (or there is no return value), an error is raised, to make sure you can tell timeout and error cases apart from successful return.</li> | 1009 | <li>The return values of the lane function. If the first return value is <tt>nil</tt> (or there is no return value), an error is raised, to make sure you can tell timeout and error cases apart from successful return.</li> |
1010 | </ul> | 1010 | </ul> |
1011 | If the lane handle obtained from <tt>lanes.gen()</tt> is to-be-closed, closing the value will cause a call to <tt>join()</tt>. Since it is implicit, the lane body isn't forced to return non-<tt>nil</tt> in that case. | ||
1011 | </p> | 1012 | </p> |
1012 | 1013 | ||
1013 | <table border=1 bgcolor="#FFFFE0" cellpadding="10" style="width:50%"><tr><td><pre> | 1014 | <table border=1 bgcolor="#FFFFE0" cellpadding="10" style="width:50%"><tr><td><pre> |