Merge pull request #1437 from humanfriend22/type-patch-1
Typo in README example code
This commit is contained in:
commit
85585c42c0
@ -18,7 +18,7 @@ socket.on("currentAmount") {data, ack in
|
||||
guard let cur = data[0] as? Double else { return }
|
||||
|
||||
socket.emitWithAck("canUpdate", cur).timingOut(after: 0) {data in
|
||||
if data.first as? String ?? "passed" == SocketAckValue.noAck {
|
||||
if data.first as? String ?? "passed" == SocketAckStatus.noAck {
|
||||
// Handle ack timeout
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user