Julien Anguenot wrote at 2005-8-5 12:20 +0200:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi,
>
>I would like to order the before commit hooks on a transaction by being
>able to specify an order for a subscriber at registration time. For the
>moment, they are called in the order they've been registred.
>
>The order argument could be an integer with a default value to 0 added
>to the registration method.
>
>We could just insert the subscriber wihin the queue according to this
>order parameter if found *or* sorting the queue according to this
>parameter before flushing the queue and calling the hooks.
>
>What do you think ?

+1

-- 
Dieter
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to