Skip to content

Service

flowtask.hooks.service

Hook Management.

This module is responsible for handling the Hooks in Flowtask.

HookService

HookService(event_loop, app, **kwargs)

add_hook

add_hook(hook)

Add the Hook, start it and calling the Setup.

load_db_hooks async

load_db_hooks()

load_db_hooks.

Load all Hooks saved into the Database.

load_fs_hooks async

load_fs_hooks()

load_fs_hooks.

Load all Hooks from the Task Storage (Filesystem).

setup async

setup()

setup.

Service Configuration.

Args: app (aiohttp.web.Application): Web Application.

start_hooks async

start_hooks(app)

start_hooks.

Starts the Hook Service.