We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f4442 commit 95c2fcbCopy full SHA for 95c2fcb
README.md
@@ -47,7 +47,7 @@ try await withThrowingTimeout(seconds: 1.0) { timeout in
47
try await foo()
48
timeout.cancelExpiration()
49
try await bar()
50
- timeout.expire(afer: 0.5)
+ timeout.expire(after: .now + .seconds(0.5))
51
try await baz()
52
}
53
```
0 commit comments