effect-concurrency-testing
✓测试效果并发原语包括 PubSub、Deferred、Latch、Fiber 协调、SubscriptionRef 和 Stream。在测试并发效果、事件驱动系统或光纤协调时使用此技能。
SKILL.md
This skill provides patterns for testing Effect's concurrency primitives: fibers, latches, deferreds, PubSub, SubscriptionRef, and streams.
CRITICAL: Choose the correct coordination primitive based on what you need to synchronize.
| Simple fiber yield | Effect.yieldNow | | Forked PubSub subscriber ready | yieldNow after fork, yieldNow after each publish | | Wait for subscriber ready | Deferred.make() + Deferred.await | | Wait for stream element | Effect.makeLatch() + Stream.tap(() => latch.open) | | Time-dependent behavior | TestClock.adjust |
测试效果并发原语包括 PubSub、Deferred、Latch、Fiber 协调、SubscriptionRef 和 Stream。在测试并发效果、事件驱动系统或光纤协调时使用此技能。 来源:front-depiction/claude-setup。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/front-depiction/claude-setup --skill effect-concurrency-testing- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 effect-concurrency-testing?
测试效果并发原语包括 PubSub、Deferred、Latch、Fiber 协调、SubscriptionRef 和 Stream。在测试并发效果、事件驱动系统或光纤协调时使用此技能。 来源:front-depiction/claude-setup。
如何安装 effect-concurrency-testing?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/front-depiction/claude-setup --skill effect-concurrency-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/front-depiction/claude-setup
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01