Document SocketAnyEvent
This commit is contained in:
parent
08c6186fe4
commit
a8ee018a16
@ -24,9 +24,17 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
/// Represents some event that was received.
|
||||
public final class SocketAnyEvent : NSObject {
|
||||
// MARK: Properties
|
||||
|
||||
/// The event name.
|
||||
public let event: String
|
||||
|
||||
/// The data items for this event.
|
||||
public let items: [Any]?
|
||||
|
||||
/// The description of this event.
|
||||
override public var description: String {
|
||||
return "SocketAnyEvent: Event: \(event) items: \(String(describing: items))"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user