Skip to content

Commit 68c0af4

Browse files
committed
Fix typos
1 parent 335e1bc commit 68c0af4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/sqlite_async/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- Instead of `package:sqlite_async/sqlite3_wasm.dart`, import `package:sqlite3/wasm.dart`.
1616
- Instead of `package:sqlite_async/sqlite3_web.dart`, import `package:sqlite3_web/sqlite3_web.dart`.
1717
- __Breaking__: Remove `SqliteDatabaseMixin` and `SqliteQueries`. Extend `SqliteConnection` instead.
18-
- __Breaking__: Calls locking the database that file with a timeout now throw an `AbortException` instead of a
18+
- __Breaking__: Calls locking the database that fail with a timeout now throw an `AbortException` instead of a
1919
`TimeoutException`.
2020
- The `throttle` parameter on `watch` and `onChange` can now be set to `null`. This also introduces `watchUnthrottled`
2121
and `onChangeUnthrottled`, which only buffer on paused subscriptions instead of applying a static timeout.

packages/sqlite_async/lib/src/sqlite_connection.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ abstract class SqliteConnection implements SqliteWriteContext {
177177
/// together when data is changed.
178178
///
179179
/// While the stream can efficiently handle backpressure (paused subscriptions
180-
/// will not be notified multiple times afer resuming, they'll receive a
180+
/// will not be notified multiple times after resuming, they'll receive a
181181
/// single aggregated event instead), it also installs a throttle of 30 during
182-
/// which the stream will be paused automtically. To disable this behavior,
183-
/// pass `null` for `throttle` or se [onChangeUnthrottled] explicitly.
182+
/// which the stream will be paused automatically. To disable this behavior,
183+
/// pass `null` for `throttle` or use [onChangeUnthrottled] explicitly.
184184
Stream<UpdateNotification> onChange(Iterable<String>? tables,
185185
{Duration? throttle = const Duration(milliseconds: 30),
186186
bool triggerImmediately = true}) {
@@ -298,7 +298,7 @@ abstract class SqliteConnection implements SqliteWriteContext {
298298
/// may be held concurrently.
299299
///
300300
/// If [abortTrigger] is set and completes before the database was able to
301-
/// obtain a read lock, an [AbortException] will be thrown.
301+
/// obtain the write lock, an [AbortException] will be thrown.
302302
Future<T> abortableWriteLock<T>(
303303
Future<T> Function(SqliteWriteContext tx) callback,
304304
{Future<void>? abortTrigger,

0 commit comments

Comments
 (0)