Rendezvous: Difference between revisions

Content deleted Content added
Thundergnat (talk | contribs)
m syntax highlighting fixup automation
PureFox (talk | contribs)
m →‎{{header|Wren}}: Changed to Wren S/H
 
Line 1,875: Line 1,875:
=={{header|Wren}}==
=={{header|Wren}}==
This uses fibers, which are always synchronous in Wren, to simulate the rendezvous mechanism.
This uses fibers, which are always synchronous in Wren, to simulate the rendezvous mechanism.
<syntaxhighlight lang="ecmascript">class Printer {
<syntaxhighlight lang="wren">class Printer {
construct new(id, ink) {
construct new(id, ink) {
_id = id
_id = id