Skip to content

Commit

Permalink
computed: Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mstniy committed Sep 22, 2024
1 parent b15083d commit d2cca24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/computed/lib/computed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ abstract class ComputedSubscription<T> {
}

/// Thrown if this data source does not have a value yet.
///
/// A computation throwing [NoValueException] does not gain value.
/// If it already has a value, it keeps its last value.
class NoValueException implements Exception {
@override
bool operator ==(Object other) => other is NoValueException;
Expand Down

0 comments on commit d2cca24

Please sign in to comment.