TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Synchronous Core, Asynchronous Shell

18 点作者 sulami11 个月前

1 comment

zogrodea11 个月前
I follow the same principle in my code, but doesn&#x27;t the &quot;functional core, imperative shell&quot; pattern already push the async stuff out of the core?<p>What would be an example of an async operation that doesn&#x27;t perform a side-effect (thereby needing a place in the imperative shell rather than the functional core)?<p>I think pushing async to the shell is really a subset of pushing imperative code to the shell.