Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mdapena committed Dec 16, 2023
1 parent 10b762e commit 8d453b6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<style>
.md-content .md-content__inner.md-typeset h1 { height: 0; margin: 0; color: transparent; }
.md-content .md-content__inner.md-typeset::before { height: 0; }
</style>

<br>

<p align="center">
<img src="docs/images/logo/pyventus-logo-name-slogan.svg" alt="Pyventus" width="900px">
<img src="docs/images/logo/pyventus-logo-name-slogan.svg" alt="Pyventus" width="700px">
</p>

<br>

---

**Documentation**: <a href="#" target="_blank">https://github.com/mdapena/pyventus</a>
Expand Down Expand Up @@ -371,6 +368,7 @@ from pyventus import EventLinker, EventEmitter, AsyncIOEventEmitter
# with statement, it allows multiple callbacks to be associated with
# events within the linkage context block, defining the event workflow.
with EventLinker.on("StringEvent") as linker:

@linker.on_event
def event_callback() -> str:
print("Event received!")
Expand Down

0 comments on commit 8d453b6

Please sign in to comment.