Skip to content

Commit 9a64cb5

Browse files
committed
Second daily update
1 parent 4c22f52 commit 9a64cb5

File tree

9 files changed

+323
-20
lines changed

9 files changed

+323
-20
lines changed

js/search.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2105,6 +2105,8 @@ $(function(){
21052105
,
21062106
{ category: "Routine", value: "loaded", url: "/routine/loaded" }
21072107
,
2108+
{ category: "method", value: "loads", url: "/routine/loads" }
2109+
,
21082110
{ category: "method", value: "local", url: "/routine/local" }
21092111
,
21102112
{ category: "Routine", value: "lock", url: "/routine/lock" }

routine-method.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ <h1 class="title">Raku method Routines</h1>
450450
</td> </tr> <tr> <td>method</td> <td><a href="/routine/load-repo-id">load-repo-id</a></td> <td><p>(From <a href="/type/CompUnit::PrecompilationRepository">CompUnit::PrecompilationRepository</a>)</p>
451451
</td> </tr> <tr> <td>method</td> <td><a href="/routine/load-unit">load-unit</a></td> <td><p>(From <a href="/type/CompUnit::PrecompilationRepository">CompUnit::PrecompilationRepository</a>)</p>
452452
</td> </tr> <tr> <td>method</td> <td><a href="/routine/loaded">loaded</a></td> <td><p>(From <a href="/type/CompUnit::Repository">CompUnit::Repository</a>, <a href="/type/CompUnit::Repository::FileSystem">CompUnit::Repository::FileSystem</a>, <a href="/type/CompUnit::Repository::Installation">CompUnit::Repository::Installation</a>)</p>
453+
</td> </tr> <tr> <td>method</td> <td><a href="/routine/loads">loads</a></td> <td><p>(From <a href="/type/Scheduler">Scheduler</a>)</p>
453454
</td> </tr> <tr> <td>method</td> <td><a href="/routine/local">local</a></td> <td><p>(From <a href="/type/DateTime">DateTime</a>)</p>
454455
</td> </tr> <tr> <td>method</td> <td><a href="/routine/lock">lock</a></td> <td><p>(From <a href="/type/IO::CatHandle">IO::CatHandle</a>, <a href="/type/IO::Handle">IO::Handle</a>, <a href="/type/Lock::Async">Lock::Async</a>, <a href="/type/Lock">Lock</a>)</p>
455456
</td> </tr> <tr> <td>method</td> <td><a href="/routine/log2">log2</a></td> <td><p>(From <a href="/type/Cool">Cool</a>)</p>

routine.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ <h1 class="title">Raku Routines</h1>
665665
</td> </tr> <tr> <td><a href="/routine/load-repo-id">load-repo-id</a></td> <td>method</td> <td><p>(From <a href="/type/CompUnit::PrecompilationRepository#method_load-repo-id">CompUnit::PrecompilationRepository</a>)</p>
666666
</td> </tr> <tr> <td><a href="/routine/load-unit">load-unit</a></td> <td>method</td> <td><p>(From <a href="/type/CompUnit::PrecompilationRepository#method_load-unit">CompUnit::PrecompilationRepository</a>)</p>
667667
</td> </tr> <tr> <td><a href="/routine/loaded">loaded</a></td> <td>method</td> <td><p>(From <a href="/type/CompUnit::Repository#method_loaded">CompUnit::Repository</a>, <a href="/type/CompUnit::Repository::FileSystem#method_loaded">CompUnit::Repository::FileSystem</a>, <a href="/type/CompUnit::Repository::Installation#method_loaded">CompUnit::Repository::Installation</a>)</p>
668+
</td> </tr> <tr> <td><a href="/routine/loads">loads</a></td> <td>method</td> <td><p>(From <a href="/type/Scheduler#method_loads">Scheduler</a>)</p>
668669
</td> </tr> <tr> <td><a href="/routine/local">local</a></td> <td>method</td> <td><p>(From <a href="/type/DateTime#method_local">DateTime</a>)</p>
669670
</td> </tr> <tr> <td><a href="/routine/lock">lock</a></td> <td>method</td> <td><p>(From <a href="/type/IO::CatHandle#method_lock">IO::CatHandle</a>, <a href="/type/IO::Handle#method_lock">IO::Handle</a>, <a href="/type/Lock::Async#method_lock">Lock::Async</a>, <a href="/type/Lock#method_lock">Lock</a>)</p>
670671
</td> </tr> <tr> <td><a href="/routine/log">log</a></td> <td>routine</td> <td><p>(From <a href="/type/Cool#routine_log">Cool</a>, <a href="/type/Numeric#routine_log">Numeric</a>)</p>

routine/cue.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,18 @@ <h1 class="title">method cue</h1>
8484
<h1 id="role_Scheduler"><a class="u" href="#___top" title="go to top of document">role Scheduler</a></h1>
8585
<p>From <a href="/type/Scheduler#method_cue">Scheduler</a></p>
8686
<h2 id="(Scheduler)_method_cue"><a href="/type/Scheduler#method_cue">(Scheduler) method cue</a></h2>
87-
<pre class="editor editor-colors"><div class="line"><span class="source raku"><span class="storage type declarator type raku"><span>method</span></span><span>&nbsp;</span><span class="entity name function raku"><span>cue</span></span><span>(</span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>&amp;</span></span><span class="variable other identifier raku"><span>code</span></span></span><span>,&nbsp;</span><span class="support type raku"><span>Instant</span></span><span>&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>at</span></span></span><span>,&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>in</span></span></span><span>,&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>every</span></span></span><span>,&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>times</span></span></span><span>&nbsp;</span><span class="storage modifier assignment raku"><span>=</span></span><span>&nbsp;</span><span class="constant numeric raku"><span>1</span></span><span>;&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>&amp;</span></span><span class="variable other identifier raku"><span>catch</span></span></span><span>&nbsp;</span><span class="keyword operator multi-symbol raku"><span>--&gt;</span></span><span>&nbsp;</span><span class="routine name raku"><span>Cancellation</span></span><span>)</span></span></div></pre><p>Schedules a callable (<code>&amp;code</code>) for execution and returns an instantiated <code>Cancellation</code> object to cancel the scheduling of the code for execution (which is especially important if you specify the <code>every =</code> time&gt; named parameter. The adverbs control when and how the code is run:</p>
88-
<p><code>$at</code> can be an <a href="/type/Instant">Instant</a> before which the code won&#39;t be run. Alternatively <code>$in</code> is the number of seconds (possibly fractional) to wait before running the code. If <code>$at</code> is in the past or <code>$in</code> is negative, the delay is treated as zero. Implementations may equate to zero very small values (e.g. lower than 0.001s) of <code>$in</code> or result of <code>$at</code> - <a href="/routine/now">now</a>.</p>
89-
<p>If <code>$every</code> is specified, it is interpreted as the number of seconds (possibly fractional) to wait before re-executing the code. Implementations may treat too-small values as lowest resolution they support, possibly warning in such situations; e.g. treating <code>0.0001</code> as <code>0.001</code>.</p>
90-
<p><code>$times</code> tells the scheduler how many times to run the code.</p>
91-
<p><code>&amp;catch</code> is called with the <a href="/type/Exception">Exception</a> as its sole argument if <code>&amp;code</code> dies.</p>
92-
<p>If <code>$at</code> or <code>$in</code> are <code>Inf</code>, <code>&amp;code</code> will never be run; if <code>$every</code> is <code>Inf</code>, <code>&amp;code</code> will only be run once. If any of the three are <code>-Inf</code>, <code>&amp;code</code> will be run immediately. If any of the three are <code>NaN</code>, an <a href="/type/X::Scheduler::CueInNaNSeconds">X::Scheduler::CueInNaNSeconds</a> exception will be thrown. This only applies to releases 2019.05 and later.</p>
87+
<pre class="editor editor-colors"><div class="line"><span class="source raku"><span class="storage type declarator type raku"><span>method</span></span><span>&nbsp;</span><span class="entity name function raku"><span>cue</span></span><span>(</span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>&amp;</span></span><span class="variable other identifier raku"><span>code</span></span></span><span>,&nbsp;</span><span class="support type raku"><span>Instant</span></span><span>&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>at</span></span></span><span>,&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>in</span></span></span><span>,&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>every</span></span></span><span>,&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>times</span></span></span><span>&nbsp;</span><span class="storage modifier assignment raku"><span>=</span></span><span>&nbsp;</span><span class="constant numeric raku"><span>1</span></span><span>;&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>&amp;</span></span><span class="variable other identifier raku"><span>catch</span></span></span><span>&nbsp;</span><span class="keyword operator multi-symbol raku"><span>--&gt;</span></span><span>&nbsp;</span><span class="routine name raku"><span>Cancellation</span></span><span>)</span></span></div></pre><p>Schedules a callable (<code>&amp;code</code>) for execution and returns an instantiated <a href="/type/Cancellation"><code>Cancellation</code></a> object to cancel the scheduling of the code for execution (which is especially important if you specify the <code>:every ( time )</code> named parameter). The adverbs control when and how the code is run:</p>
88+
<ul><li><p><code>$at</code> can be an <a href="/type/Instant">Instant</a> before which the code won&#39;t be run. Alternatively <code>$in</code> is the number of seconds (possibly fractional) to wait before running the code. If <code>$at</code> is in the past or <code>$in</code> is negative, the delay is treated as zero. Implementations may equate to zero very small values (e.g. lower than 0.001s) of <code>$in</code> or result of <code>$at</code> - <a href="/routine/now">now</a>.</p>
89+
</li>
90+
<li><p>If <code>$every</code> is specified, it is interpreted as the number of seconds (possibly fractional) to wait before re-executing the code. Implementations may treat too-small values as lowest resolution they support, possibly warning in such situations; e.g. treating <code>0.0001</code> as <code>0.001</code>.</p>
91+
</li>
92+
<li><p><code>$times</code> tells the scheduler how many times to run the code.</p>
93+
</li>
94+
<li><p><code>&amp;catch</code> is called with the <a href="/type/Exception">Exception</a> as its sole argument if <code>&amp;code</code> dies.</p>
95+
</li>
96+
<li><p>If <code>$at</code> or <code>$in</code> are <code>Inf</code>, <code>&amp;code</code> will never be run; if <code>$every</code> is <code>Inf</code>, <code>&amp;code</code> will only be run once. If any of the three are <code>-Inf</code>, <code>&amp;code</code> will be run immediately. If any of the three are <code>NaN</code>, an <a href="/type/X::Scheduler::CueInNaNSeconds">X::Scheduler::CueInNaNSeconds</a> exception will be thrown. This only applies to releases 2019.05 and later.</p>
97+
</li>
98+
</ul>
9399
<p>One should call the <code>cancel</code> method on the returned <code>Cancellation</code> object to cancel the (possibly repeated) cueing of the code.</p>
94100

95101
</div>

routine/loads.html

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<title>method loads</title>
5+
<meta charset="UTF-8"/>
6+
<meta name=viewport content="width=device-width, initial-scale=1">
7+
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
8+
<link rel="stylesheet" type="text/css" href="/css/app.css" media="screen" title="default" />
9+
<noscript> <style> #search { visibility: hidden; } </style> </noscript>
10+
</head>
11+
12+
<body class="pod">
13+
14+
<div id="___top"></div>
15+
16+
<div id="header" class="pretty-box green">
17+
18+
<a href="/">
19+
<img src="/images/Camelia.svg" alt="»ö«" id="logo" width="62" height="48"/> &nbsp;Raku Documentation
20+
</a>
21+
22+
<div id="search" class="ui-widget">
23+
<div class="green">
24+
<input placeholder="Loading..." id="query" accesskey="f" title="Enter term to search for (hit Esc to focus)"/>
25+
</div>
26+
<p id="not-found-message">
27+
Not in Index (<a href="" id="try-web-search">try site search</a>)
28+
</p>
29+
</div>
30+
31+
<div class="menu">
32+
33+
<div class="menu-items dark-green">
34+
<a class='menu-item darker-green' href='https://raku.org'><strong>Raku homepage</strong></a>
35+
<a class="menu-item " href="/language.html"> Language </a>
36+
<a class="menu-item " href="/type.html"> Types </a>
37+
<a class="menu-item selected darker-green" href="/routine.html"> Routines </a>
38+
<a class="menu-item " href="/programs.html"> Programs </a>
39+
<a class="menu-item " href="https://webchat.freenode.net/?channels=#raku"> Chat with us </a>
40+
</div>
41+
42+
<div class="menu-items darker-green"><div class="menu-items darker-green"><div class="menu-items darker-green"><div class="menu-items darker-green"><div class="menu-items darker-green"><div class="menu-items darker-green"><div class="menu-items darker-green">
43+
<a class="menu-item" href="/routine.html"> All </a>
44+
<a class="menu-item" href="/routine-sub.html"> Sub </a>
45+
<a class="menu-item" href="/routine-method.html"> Method </a>
46+
<a class="menu-item" href="/routine-term.html"> Term </a>
47+
<a class="menu-item" href="/routine-operator.html"> Operator </a>
48+
<a class="menu-item" href="/routine-trait.html"> Trait </a>
49+
<a class="menu-item" href="/routine-submethod.html"> Submethod </a>
50+
</div></div></div></div></div></div></div>
51+
52+
</div>
53+
</div>
54+
55+
<div id="content" class="pretty-box yellow content_fragment">
56+
57+
<div align="right" style="display:none;">
58+
<button title="Edit this page" class="pencil" onclick="location=''">
59+
<svg width="14px" height="16px" viewBox="0 0 14 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
60+
<defs></defs>
61+
<g id="Octicons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
62+
<g id="pencil" fill="#000000">
63+
<path d="M0,12 L0,15 L3,15 L11,7 L8,4 L0,12 L0,12 Z M3,14 L1,14 L1,12 L2,12 L2,13 L3,13 L3,14 L3,14 Z M13.3,4.7 L12,6 L9,3 L10.3,1.7 C10.69,1.31 11.32,1.31 11.71,1.7 L13.3,3.29 C13.69,3.68 13.69,4.31 13.3,4.7 L13.3,4.7 Z" id="Shape"></path>
64+
</g>
65+
</g>
66+
</svg>
67+
</button>
68+
</div>
69+
70+
<h1 class="title">method loads</h1>
71+
<p class="subtitle"></p>
72+
73+
<nav class="indexgroup">
74+
<table id="TOC">
75+
<caption><h2 id="TOC_Title">Table of Contents</h2></caption>
76+
<tr class="toc-level-1"><td class="toc-number">1</td><td class="toc-text"><a href="#role_Scheduler">role Scheduler</a></td></tr>
77+
<tr class="toc-level-2"><td class="toc-number">1.1</td><td class="toc-text"><a href="#(Scheduler)_method_loads">(Scheduler) method loads</a></td></tr>
78+
79+
</table>
80+
</nav>
81+
82+
<div class="pod-body ">
83+
<p>Documentation for method <code>loads</code> assembled from the following types:</p>
84+
<h1 id="role_Scheduler"><a class="u" href="#___top" title="go to top of document">role Scheduler</a></h1>
85+
<p>From <a href="/type/Scheduler#method_loads">Scheduler</a></p>
86+
<h2 id="(Scheduler)_method_loads"><a href="/type/Scheduler#method_loads">(Scheduler) method loads</a></h2>
87+
<p>Defined as:</p>
88+
<pre class="editor editor-colors"><div class="line"><span class="source raku"><span class="storage type declarator type raku"><span>method</span></span><span>&nbsp;</span><span class="entity name function raku"><span>loads</span></span><span>()</span></span></div></pre><p>This is a method stub, should be re-implemented when subclassing.</p>
89+
90+
</div>
91+
</div>
92+
93+
94+
95+
<footer class="pretty-box yellow">
96+
<p style="display:none;">
97+
Generated from <a href="https://github.com/Raku/doc/edit/master/doc//">https://github.com/Raku/doc/edit/master/doc//</a>.
98+
</p>
99+
<p>
100+
This is a work in progress to document Raku (formerly known as Perl 6), and
101+
known to be incomplete.
102+
</p>
103+
<p>
104+
<a href="https://github.com/Raku/doc/blob/master/CONTRIBUTING.md#reporting-bugs">
105+
Please report any issues
106+
</a>
107+
Your contribution is appreciated.
108+
</p>
109+
<p>
110+
This documentation is provided under the terms of the
111+
<a href="https://raw.githubusercontent.com/Raku/doc/master/LICENSE">
112+
Artistic License 2.0
113+
</a>. The Camelia image is
114+
<a href="https://raw.githubusercontent.com/Raku/mu/master/misc/camelia.txt">
115+
copyright © 2009 by Larry Wall.
116+
</a>
117+
<!-- CREDITS -->
118+
<!--External Link Image by Zapyon, CCA-SA 4.0. Derived from Wikimedia Foundation https://commons.wikimedia.org/wiki/File:External-link-04-bold-12x12.svg -->
119+
</p>
120+
</footer>
121+
122+
<script type="text/javascript" src="/js/app.js?v=1"></script>
123+
<script type="text/javascript" src="/js/search.js?v=3"></script>
124+
</body>
125+
</html>

0 commit comments

Comments
 (0)