Firebase iOS SDK异步和线程 [英] Firebase ios sdk async and threads

查看:49
本文介绍了Firebase iOS SDK异步和线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道使用Firebase iOS SDK远程调用Firebase是使用主线程还是后台线程吗?

Does anyone know whether remote calls to Firebase using Firebase iOS SDK use main thread or a background thread?

我在文档中找不到任何内容.

I couldn't find anything in documentation.

推荐答案

Firebase使用它自己的后台线程.但是正如Jay在评论中提到的那样,Firebase消除了对线程的担心.

Firebase uses it's own background thread. But as Jay mentioned in the comments, Firebase eliminates the need to worry about threading.

因此,基本上不需要在自己的后台线程中运行Firebase.

So essentially there's no need to run Firebase in your own background thread.

这篇关于Firebase iOS SDK异步和线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆