On 27/feb/2013, at 10:25, Michael Dürig wrote: > > > On 15.2.13 9:27, Jukka Zitting wrote: >> Hi, >> >> On Fri, Feb 15, 2013 at 11:20 AM, Tommaso Teofili <teof...@adobe.com> wrote: >>> maybe it would be nice to explicitly design the synchronous / asynchronous >>> execution of an hook >> >> An Observer is essentially an asynchronous hook. > > Right but it might make sense to factor out an API based on these hooks > that frees index implementations of having to worry which hook to use.
yes, I'd see it as a nice improvement to ease the development and maintenance of indexing plugins. > Thus index implementation wouldn't need to worry about the hooks but > rather about a contract specifying how thy see content changes. Maybe we can have both, so that a specific index can implement them as well if that's needed for some reason. Tommaso > > Michael > > >> >> BR, >> >> Jukka Zitting >>