Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不知道 Rails 是否有以下方法:
我找到了一些关于delayed_job 的信息,但它立即返回响应并将作业置于似乎不是事件驱动的后台。
任何人都可以帮忙吗?
安迪。
您可能正在寻找Notifications、Observers和/或COMET
我认为您在谈论回调。在这里阅读:API。请注意,您也可以创建自定义事件和回调:博客