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.
Meteor.subscribe準備が整うまで待つ方法を知りたいです。これは、ブロッキング コードを書きたいということです。
Meteor.subscribe
DDP 接続を介して別のサーバーからコレクションを購読していますが、購読が終了するまで待ってから次の行に移動したいと考えています。
onReady現在、コールバックを最後の引数として渡すことができますMeteor.subscribeが、コードは非同期であり、サブスクリプションの準備が整うまで待機しません。助言がありますか?
onReady