Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/dart-lang/setup-da…
Browse files Browse the repository at this point in the history
…rt-1.4
  • Loading branch information
Serious-senpai authored Mar 7, 2024
2 parents 33956bc + 56187f3 commit f29601e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
sdk: [2.19.6, 3.3.1]

steps:

Expand All @@ -22,8 +21,6 @@ jobs:

- name: Setup Dart
uses: dart-lang/[email protected]
with:
sdk: ${{ matrix.sdk }}

- name: Install dependencies
run: dart pub get
Expand Down
5 changes: 4 additions & 1 deletion lib/async_locks.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/// Synchronization primitives for asynchronous Dart code.
/// Provides a suite of synchronization primitives designed to streamline the coordination of
/// asynchronous operations in your Dart applications. Inspired by Python's established concurrency
/// features, this package offers a familiar and intuitive approach to managing shared resources
/// and preventing race conditions in asynchronous code.
///
/// See also:
/// - [Python documentation](https://docs.python.org/3.9/library/asyncio-sync.html)
Expand Down
2 changes: 1 addition & 1 deletion lib/src/event.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of async_locks;
part of "../async_locks.dart";

/// Event object to notify multiple futures that an event has happened.
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/lock.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of async_locks;
part of "../async_locks.dart";

abstract class _Lock {
final _waiters = ListQueue<_FutureWaiter>();
Expand Down
2 changes: 1 addition & 1 deletion lib/src/semaphore.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of async_locks;
part of "../async_locks.dart";

abstract class _Semaphore {
final _waiters = ListQueue<_FutureWaiter>();
Expand Down
2 changes: 1 addition & 1 deletion lib/src/types.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of async_locks;
part of "../async_locks.dart";

typedef _FutureWaiter = Completer<void>;

Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ repository: https://github.com/Serious-senpai/async-locks
issue_tracker: https://github.com/Serious-senpai/async-locks/issues

environment:
sdk: ">=2.18.1 <3.0.0"
sdk: ">=3.0.0 <4.0.0"

dev_dependencies:
lints: ^2.0.1
test: ^1.22.2
lints: ^3.0.0
test: ^1.25.2

0 comments on commit f29601e

Please sign in to comment.