From 79a638bcf930a9cca39a4610a5ee99f0a3cd58fd Mon Sep 17 00:00:00 2001
From: squahtx
Modules must register their web resources in their __init__
method.
Modules can use Synapse's module API to register callbacks. Callbacks are functions that -Synapse will call when performing specific actions. Callbacks must be asynchronous (unless -specified otherwise), and are split in categories. A single module may implement callbacks -from multiple categories, and is under no obligation to implement all callbacks from the -categories it registers callbacks for.
+Synapse will call when performing specific actions. Callbacks must be asynchronous, and +are split in categories. A single module may implement callbacks from multiple categories, +and is under no obligation to implement all callbacks from the categories it registers +callbacks for.Modules can register callbacks using one of the module API's register_[...]_callbacks
methods. The callback functions are passed to these methods as keyword arguments, with
-the callback name as the argument name and the function as its value. A
-register_[...]_callbacks
method exists for each category.
register_[...]_callbacks
method exists for each category.
Callbacks for each category can be found on their respective page of the Synapse documentation website.
-- cgit 1.5.1