Merge pull request #1437 from humanfriend22/type-patch-1

Typo in README example code
This commit is contained in:
Erik Little 2023-08-28 14:52:04 -04:00 committed by GitHub
commit 85585c42c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}