Skip to content

Commit 73f0374

Browse files
authored
Update README.md
1 parent 1907121 commit 73f0374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ let val: String? = await withIdentifiableContinuation { continuation in
4646

4747
```swift
4848
let val: String? = await withIdentifiableContinuation {
49-
await actor.insertContinuation($0)
49+
await someActor.insertContinuation($0)
5050
} onCancel: {
51-
await actor.cancelContinuation(for: $0)
51+
await someActor.cancelContinuation(for: $0)
5252
}
5353
```
5454

0 commit comments

Comments
 (0)