Source code for corx.bootstrap
from corx.command import CommandExecutor
from corx.dispatcher import Dispatcher
from corx.event import EventExecutor
from corx.query import QueryExecutor
[docs]
def bootstrap():
Dispatcher().register_executors(
CommandExecutor(),
QueryExecutor(),
EventExecutor()
)