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 3e81716 commit 6fe7d6eCopy full SHA for 6fe7d6e
README.md
@@ -170,20 +170,11 @@ To ensure .play is applied before .pause, you can use `Task` to schedule the sec
170
```swift
171
playbackCommand = .play
172
173
- Task {
+ Task {@MainActor
174
playbackCommand = .pause
175
Task { playbackCommand = .play } // This runs AFTER `.pause`
176
}
177
```
178
- If playbackCommand is critical for playback logic, use an ObservableObject with @Published instead of @State. This avoids SwiftUI’s state batching
179
-```swift
180
- @Published var playbackCommand: PlaybackCommand = .pause
181
-```
182
-then works
183
184
- playbackCommand = .play
185
- playbackCommand = .pause
186
187
188
### Handling Sequential Similar Commands
189
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments