Skip to content

Commit

Permalink
Fixes for API documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbergmann committed Jan 16, 2024
1 parent b15b4d6 commit f6a7269
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 7 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h4>Creating an actor-system</h4>
(RESOLUTION 500 MAX-SIZE 1000)
EVENTSTREAM
(DISPATCHER-ID SHARED)
TIMEOUT-TIMER
SCHEDULER
(ENABLED TRUE RESOLUTION 100 MAX-SIZE 500)
), user actors: 0, internal actors: 5&gt;</code></pre>
<p>The <code>actor-system</code> has, by default, four shared message dispatcher workers. Depending on how busy the system tends to be this default can be increased. Those four workers are part of the 'internal actors'. The 5th actor drives the event-stream (later more on that, but in a nutshell it's something like an event bus).</p>
Expand Down Expand Up @@ -2207,9 +2207,12 @@ <h6>[in package SENTO.WHEEL-TIMER with nicknames WT]</h6>

<p>Creates a new <a href="#SENTO.WHEEL-TIMER:WHEEL-TIMER%20CLASS" title="SENTO.WHEEL-TIMER:WHEEL-TIMER CLASS"><code>wt:wheel-timer</code></a>.</p>

<p><code>config</code> is a parameter for a list of key parameters including:<br/>
- <code>:resolution</code> the timer time resolution in milliseconds. 100 milliseconds is a good default.
- <code>:max-size</code> the number of timer slots this wheel should have.</p>
<p><code>config</code> is a parameter for a list of key parameters including:</p>

<ul>
<li><p><code>:resolution</code> the timer time resolution in milliseconds. 100 milliseconds is a good default.</p></li>
<li><p><code>:max-size</code> the number of timer slots this wheel should have.</p></li>
</ul>

<p>Note that an <a href="#SENTO.ACTOR-SYSTEM:ACTOR-SYSTEM%20CLASS" title="SENTO.ACTOR-SYSTEM:ACTOR-SYSTEM CLASS"><code>asys:actor-system</code></a> includes an instance as <a href="#SENTO.ACTOR-SYSTEM:SCHEDULER%20%28MGL-PAX:READER%20SENTO.ACTOR-SYSTEM:ACTOR-SYSTEM%29" title="SENTO.ACTOR-SYSTEM:SCHEDULER (MGL-PAX:READER SENTO.ACTOR-SYSTEM:ACTOR-SYSTEM)"><code>asys:scheduler</code></a> that can be used within actors.
But you can also create your own instance.</p></li>
Expand Down
3 changes: 2 additions & 1 deletion src/wheel-timer.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
(defun make-wheel-timer (&rest config)
"Creates a new `wt:wheel-timer`.
`config` is a parameter for a list of key parameters including:
`config` is a parameter for a list of key parameters including:
- `:resolution` the timer time resolution in milliseconds. 100 milliseconds is a good default.
- `:max-size` the number of timer slots this wheel should have.
Expand Down

0 comments on commit f6a7269

Please sign in to comment.