<gh_stars>0
from zope.interface import Interface


class IAsyncUtility(Interface):

    async def initialize():
        '''
        Method that is called on startup and used to create task.
        '''

    async def finalize():
        '''
        Called to shut down and cleanup the task
        '''


class IQueueUtility(IAsyncUtility):
    pass


class IAsyncJobPool(IAsyncUtility):
    pass


class ICacheUtility(IAsyncUtility):
    pass

class IPubSubUtility(IAsyncUtility):
    pass

from zope.interface import Interface


class IAsyncUtility(Interface):

    async def initialize():
        '''
        Method that is called on startup and used to create task.
        '''

    async def finalize():
        '''
        Called to shut down and cleanup the task
        '''


class IQueueUtility(IAsyncUtility):
    pass


class IAsyncJobPool(IAsyncUtility):
    pass


class ICacheUtility(IAsyncUtility):
    pass

class IPubSubUtility(IAsyncUtility):
    pass
Method that is called on startup and used to create task. Called to shut down and cleanup the task