User:Jminta/Steel: Difference between revisions

Jump to navigation Jump to search
reply re: async methods
No edit summary
(reply re: async methods)
Line 309: Line 309:
<h5>Comments:</h5>
<h5>Comments:</h5>
* srobertson: In response to your <code>getFolders()</code> comment. I'd encourage you to make the programming model as async as possible. If we avoid synchronous  methods we can keep the UI responsive and not have to worry about whether this folder is local or remote on a mail server.
* srobertson: In response to your <code>getFolders()</code> comment. I'd encourage you to make the programming model as async as possible. If we avoid synchronous  methods we can keep the UI responsive and not have to worry about whether this folder is local or remote on a mail server.
** jminta's response: I agree that blocking the UI for a long time would be a bad idea, but at the same time, async requests are inherently more complex.  Especially for get() methods, I think we win if we can abstract away the async part and expose a synchronous method to these consumers.


=== steelIFolder ===
=== steelIFolder ===
289

edits

Navigation menu