Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rodydavis committed Nov 21, 2023
2 parents 4179198 + 1b3ebf9 commit 8742c70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/flutter_preact_signals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Futures can be converted to signals by either a method `futureToSignal` or as an
```dart
import 'package:preact_signals/preact_signals.dart';
void createStream() async* {
Stream<int> createStream() async* {
yield 1;
yield 2;
yield 3;
Expand Down
2 changes: 1 addition & 1 deletion packages/preact_signals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ final stream = createStream();
final signal = stream.toSignal(); // or streamToSignal(stream)
```

> This will return a sealed union based on `SignalState` that will return `SignalValue` for success, `SignalError` for errors (and `SignalTimeout` on optional timeout), and `SignalLoading`.
> This will return a sealed union based on `SignalState` that will return `SignalValue` for success, `SignalError` for errors, and `SignalLoading`.
## Example

Expand Down

0 comments on commit 8742c70

Please sign in to comment.