Skip to content

Commit 0fad17b

Browse files
committed
Docstring
1 parent 82c07d9 commit 0fad17b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/daf/core.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ async def _initialize(token : str,
7474
The main initialization function.
7575
It initializes all the other modules, creates advertising tasks
7676
and initializes all the core functionality.
77+
If you want to control your own event loop, use this instead of run.
78+
79+
Parameters
80+
---------------
81+
Any: Any
82+
Parameters are the same as in :func:`daf.core.run`.
7783
"""
7884
loop = asyncio.get_event_loop()
7985
tracing.initialize(debug) # Print trace messages to the console for debugging purposes

0 commit comments

Comments
 (0)