-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--------- Co-authored-by: David Brochart <[email protected]>
- Loading branch information
1 parent
759fe93
commit 9d22542
Showing
65 changed files
with
6,324 additions
and
4,436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
API reference | ||
============= | ||
|
||
.. py:currentmodule:: asphalt.core | ||
Components | ||
---------- | ||
|
||
.. autoclass:: Component | ||
.. autoclass:: CLIApplicationComponent | ||
.. autofunction:: start_component | ||
.. autoexception:: ComponentStartError | ||
|
||
Concurrency | ||
----------- | ||
|
||
.. autofunction:: start_background_task_factory | ||
.. autofunction:: start_service_task | ||
.. autoclass:: TaskFactory | ||
.. autoclass:: TaskHandle | ||
|
||
Contexts and resources | ||
---------------------- | ||
|
||
.. autoclass:: Context | ||
.. autoclass:: ResourceEvent | ||
.. autofunction:: current_context | ||
.. autofunction:: context_teardown | ||
.. autofunction:: add_resource | ||
.. autofunction:: add_resource_factory | ||
.. autofunction:: add_teardown_callback | ||
.. autofunction:: get_resource | ||
.. autofunction:: get_resource_nowait | ||
.. autofunction:: inject | ||
.. autofunction:: resource | ||
.. autoexception:: AsyncResourceError | ||
.. autoexception:: NoCurrentContext | ||
.. autoexception:: ResourceConflict | ||
.. autoexception:: ResourceNotFound | ||
|
||
Events | ||
------ | ||
|
||
.. autoclass:: Event | ||
.. autoclass:: Signal | ||
.. autoclass:: SignalQueueFull | ||
.. autofunction:: stream_events | ||
.. autofunction:: wait_event | ||
.. autoexception:: UnboundSignal | ||
|
||
Application runner | ||
------------------ | ||
|
||
.. autofunction:: run_application | ||
|
||
Utilities | ||
--------- | ||
|
||
.. autoclass:: PluginContainer | ||
.. autofunction:: callable_name | ||
.. autofunction:: merge_config | ||
.. autofunction:: qualified_name | ||
.. autofunction:: resolve_reference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.