Skip to content

Commit

Permalink
feat: add src/netius/base/observer.pyi
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-gomes committed Dec 27, 2023
1 parent e70b35b commit c529f5e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/netius/base/observer.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class Observable:
def __init__(self, *args, **kwargs) -> None: ...
def build(self) -> None: ...
def destroy(self) -> None: ...
def bind(self, name: str, method: str, oneshot: bool = ...) -> None: ...
def unbind(self, name: str, method: str | None = ...) -> None: ...
def unbind_all(self) -> None: ...
def trigger(self, name: str, *args, **kwargs) -> None: ...

0 comments on commit c529f5e

Please sign in to comment.