/usr/share/doc/python-rabbyt/rabbyt/Scheduler/index.html is in python-rabbyt 0.8.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | <html>
<head>
<title>Scheduler - Rabbyt Reference</title>
</head>
<body>
<a href="../../rabbyt/">Documentation Index</a> | From module <a href="../../rabbyt/">rabbyt</a>.
<h1>Scheduler</h1>
<p><tt class="docutils literal"><span class="pre">Scheduler()</span></tt></p>
<p>Scheduler provides... (wait for it...) scheduling!</p>
<p>You may create your own scheduler instances, or use the default
<tt class="docutils literal"><span class="pre">rabbyt.scheduler</span></tt></p>
<div class="section">
<h2>Methods</h2>
<div class="section">
<h3>add</h3>
<p><tt class="docutils literal"><span class="pre">add(time,</span> <span class="pre">callback)</span></tt></p>
<p>Schedules a <tt class="docutils literal"><span class="pre">callback</span></tt> to be called at a given <tt class="docutils literal"><span class="pre">time</span></tt>.</p>
</div>
<div class="section">
<h3>pump</h3>
<p><tt class="docutils literal"><span class="pre">pump([time])</span></tt></p>
<p>Calls all callbacks that have been scheduled for before <tt class="docutils literal"><span class="pre">time</span></tt>.</p>
<p>If <tt class="docutils literal"><span class="pre">time</span></tt> is not given, the value returned by <tt class="docutils literal"><span class="pre">rabbyt.get_time()</span></tt>
will be used.</p>
</div>
</div>
</body>
</html>
|