Added slow/deadlocked event handler detection
This commit is contained in:
@@ -11,6 +11,7 @@ namespace Discord
|
||||
private readonly object _subLock = new object();
|
||||
internal ImmutableArray<T> _subscriptions;
|
||||
|
||||
public bool HasSubscribers => _subscriptions.Length != 0;
|
||||
public IReadOnlyList<T> Subscriptions => _subscriptions;
|
||||
|
||||
public AsyncEvent()
|
||||
|
||||
Reference in New Issue
Block a user