Skip to content

Commit

Permalink
Merge pull request #1437 from humanfriend22/type-patch-1
Browse files Browse the repository at this point in the history
Typo in README example code
  • Loading branch information
nuclearace authored Aug 28, 2023
2 parents 175da8b + 8837d4a commit 85585c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 85585c4

Please sign in to comment.