File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,11 @@ where `T` is the type of the expected result.
252
252
methods. If you add a new asynchronous operation, it should be added to
253
253
that enum, and that ID should be used for all of the internal FutureApi
254
254
operations. Non-async functions never need to touch this.
255
-
255
+ * Asynchronous functions ONLY: Only asynchronous functions need to use
256
+ the Future pattern, e.g. anything with a callback. If you are simply
257
+ calling an underlying SDK function that finishes its work and returns
258
+ immediately, with no callback, there is no need to use a Future. See
259
+ ` STYLE_GUIDE.md ` for more details on asynchronous operations.
256
260
257
261
### Core Classes and Operations (Examples from Auth and Database)
258
262
You can’t perform that action at this time.
0 commit comments