preHook and postHook need some way to tell what has just finished.
We should split the batch (see http://getahead.org/dwr/development/batchdata) into public and private parts and make the public bits accessible to the hooks, and maybe the callbacks and error handlers.
preHook and postHook need some way to tell what has just finished.
We should split the batch (see http://getahead.org/dwr/development/batchdata) into public and private parts and make the public bits accessible to the hooks, and maybe the callbacks and error handlers.
This issue crops up in many places, including callbacks and handlers.