Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Commit e1ca43d

Browse files
committed
Fix coroutine spawning syntax in base.rfc
1 parent d69b307 commit e1ca43d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base.rfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,9 +687,9 @@ class HiPriorityStrategy implements Async\SpawnStrategy
687687
// Additional methods ...
688688
}
689689

690-
spawn with new HiPriorityStrategy() {
690+
spawnWith(new HiPriorityStrategy(), function() {
691691
// This coroutine will be marked as high priority
692-
};
692+
});
693693
</code>
694694

695695
=== ''hiPriority'' strategy ===

0 commit comments

Comments
 (0)