Logo
Explore Help
Register Sign In
tomoaki/hakorune
1
0
Fork 0
You've already forked hakorune
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
353b8022af9918d53b70a2d007b0b6f618f01f4f
hakorune/apps/tests/async-await-timeout-fixed/main.hako

14 lines
264 B
Plaintext
Raw Normal View History

Phase 12 TypeBox統合ABI設計完了: C ABI + Nyash ABI革命的統合 主な成果: - TypeBox(型情報をBoxとして扱う)による統合ABI設計 - C ABI + Nyash ABIの完全統合仕様書作成 - 3大AI専門家(Gemini/Codex/ChatGPT5)による検証済み - ChatGPT5の10個の安全性改善提案を反映 - README.mdのドキュメント更新(全起点から到達可能) MapBox拡張: - string型キーサポート(従来のi64に加えて) - remove/clear/getOr/keysStr/valuesStr/toJson実装 - keys()/values()のランタイムシムサポート(TypeBox待ち) その他の改善: - Phase 11.9(文法統一化)ドキュメント追加 - Phase 16(FoldLang)ドキュメント追加 - 非同期タイムアウトテスト追加 - 各種ビルド警告(未使用import等)は次のリファクタリングで対応予定 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-02 09:26:09 +09:00
// Async await timeout smoke (fixed API)
// Expects await to time out and return Result.Err("Timeout")
// @env NYASH_AWAIT_MAX_MS=100
static box Main {
main() {
fut = env.future.delay(500)
res = await fut
print(res.toString())
return res
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 70ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API