File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/EventDrivenSwift/EventThread Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,11 +85,11 @@ open class EventThread: EventReceiver, EventThreadable {
8585 /**
8686 Removes an Event Callback for the given `Eventable` Type
8787 - Author: Simon J. Stuart
88- - Version: 4.0.0
88+ - Version: 4.0.2
8989 - Parameters:
9090 - forEventType: The `Eventable` Type for which to Remove the Callback
9191 */
92- open func removeEventCallback( forEventType: any Eventable ) {
92+ open func removeEventCallback( forEventType: Eventable . Type ) {
9393 let eventTypeName = String ( reflecting: forEventType)
9494
9595 _eventCallbacks. withLock { eventCallbacks in
@@ -98,7 +98,7 @@ open class EventThread: EventReceiver, EventThreadable {
9898
9999 let dispatcher : EventDispatching = eventPool == nil ? EventCentral . shared : eventPool!
100100
101- dispatcher. removeReceiver ( self , forEventType: type ( of : forEventType) )
101+ dispatcher. removeReceiver ( self , forEventType: forEventType)
102102 }
103103
104104 /**
You can’t perform that action at this time.
0 commit comments