Hi Edwin,

I think this might have been an evolutionary oddity; the noun types were 
originally synchronous, and later Jono added the ability for them to be 
asynchronous, but he probably didn't want to break backwards 
compatibility, so kept the synchronous mechanism in-place.  He'd be the 
best one to answer this question, though; I agree that having "only one 
way to do it" would be best.

- Atul

P.S. -- Thanks for adding to the author tutorial on the wiki!

On 1/13/09 5:18 AM, Edwin Khodabakchian wrote:
> I am developing a set of noun types, some of which are async. I
> noticed that the suggest method allows you to either return something
> synchronously or callback asynchronously. Is there a reason why these
> those cases could not be unified into always using the callback
> function?
> Thank you,
> Edwin
> >
>    

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to