diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-03 03:53:36 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-03 03:53:36 -0400 |
| commit | 5feecff9d93522002c74a1423d138c2aa8bc150d (patch) | |
| tree | ff64b7695be5fd8716cfe6ed640ed556dc203587 /test | |
| parent | 5f0b099e1444d462be5aa8df49f87c9b324e1b85 (diff) | |
Deprecate `Where` and change channel API to use a boolean `front` value
Diffstat (limited to 'test')
| -rw-r--r-- | test/threads.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/threads.tm b/test/threads.tm index 09ec7dc2..986ab864 100644 --- a/test/threads.tm +++ b/test/threads.tm @@ -11,10 +11,10 @@ func main(): = [10, 20, 30] >> channel:peek() = 10 - >> channel:peek(End) + >> channel:peek(front=no) = 30 - >> channel:give(-10, Start) + >> channel:give(-10, front=yes) >> channel:view() = [-10, 10, 20, 30] |
