Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 authored Jan 25, 2024
1 parent f6cd315 commit c916a4a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,8 @@ filby.subscribe(Filby.HOOK_MAX_ATTEMPTS_EXHAUSTED, (notification) => {
});
```

#### filby.unsubscribe<T>(event: string, handler: (notification: T) => Promise<void>): void
Unsubscribes the specified handler from the specified event

#### filby.unsubscribe(event: string): void
Unsubscribes all handlers from the specified event
#### filby.unsubscribe<T>(event: string, handler?: (notification: T) => Promise<void>): void
Unsubscribes the specified handler, or all handlers if none is specified, from the specified event

#### filby.unsubscribeAll(): void
Unsubscribes all handlers from all events
Expand Down

0 comments on commit c916a4a

Please sign in to comment.