use_in_case 1.4.3
use_in_case: ^1.4.3 copied to clipboard
A Dart package that provides a set of functionality to help you write usecases.
0.1.0 #
Core Classes #
- Base Class "Interactor" added
- Base Class "Modifier" added
- Class "Invocator" added
- Class "Event" added
- Class "Timeout Modifier" added
- Class "Busy-State Modifier" added
Examples
- Example "simple example" added
- Example "predefined modifier example" added
- Example "custom modifier" added
Tests
- Test "timeout test" added
- Test "busy-state test" added
- Test "default configuration test" added
- Test "on event test" added
1.0.0 #
I'm glad to announce that Versin 2 has reached its initial state that can be published!
Core Classes #
- Interface Interactor added
- Interface ResultInteractor added
- Interface ParameterizedInteractor added
- Interface ParameterizedResultInteractor added
- Modifier after added
- Modifier before added
- Modifier watchBusyState added
- Modifier eventually added
- Modifier intercept added
- Invocations runUnsafe added
- Invocations run added
- Invocations getOrThrow added
- Invocations getOrNull added
- Invocations getOrElse added
- Modifier typedIntercept added
- Modifier logEvents added
- Modifier log added
- Modifier map added
- Base class ProgressInteractor added
- Base class ResultProgressInteractor added
- Base class ParameterizedProgressInteractor added
- Base class ParameterizedResultProgressInteractor added
- Modifier recover added
- Modifier typedRecover added
- Modifier timeout added
Examples #
- Example for after added
- Example for before added
- Example for busy_state added
- Example for eventually added
- Example for interactor added
- Example for intercept added
- Example for log added
- Example for parameterized_interactor added
- Example for parameterized_result_interactor added
- Example for parameterized_result_progress_interactor added
- Example for result_interactor added
- Example for use_in_case added
Documentation #
- Documentation for after added
- Documentation for before added
- Documentation for busyState added
- Documentation for eventually added
- Documentation for intercept added
- Documentation for log added
- Documentation for map added
- Documentation for recover added
- Documentation for timeout added
Cleanup #
Removed pretty much all dependencies from the pubspec except darz for the unit type. Removed use_in_case2.0 branch from git-workflow filter.
1.1.0 #
Documentation #
- Code Documentation added in after.dart
- Code Documentation added in before.dart
- Code Documentation added in busy_state.dart
- Code Documentation added in eventually.dart
- Code Documentation added in interactor.dart
- Code Documentation added in intercept.dart
- Code Documentation added in invoke.dart
- Code Documentation added in log.dart
- Code Documentation added in map.dart
- Code Documentation added in progress.dart
- Code Documentation added in recover.dart
- Code Documentation added in timeout.dart
Breaking Changes #
errorMessage parameter in timeout modifier has been migrated to be a lazily-invoked callback due to unnecessary evaluation.
1.2.0 #
- Removed documentation of deprecated method
debounceBusyStatein README.md - Updated example to call getOrThrow instead of execute.
- Renamed execute interactor to runUnsafe
- Edited documentation to match the new interactor signature.
1.3.0 #
- Modifier measure added
- Modifier runAtLeast added
- Modifier measuredValue added
- Example measure added
- Example measureTimedValue added
- Example runAtLeast added
1.4.0 #
- Modifier busyStateChange added
- Deprecation of watchBusyState introduced
- Modifier emitBusyStateChange added
- Examples of watchBusyState updated
- Example emitBusyStateChange added
- Documentation for emitBusyStateChange added
- Modifier ensureMinExecutionTime added
- Modifier ensureMinExecutionTimeOnSuccess added
- Added
onDelaycallback to ensureMinExecutionTime - Added
onDelaycallback to ensureMinExecutionTimeOnSuccess - Renamed
runUnsafetogetOrThrowin ParameterizedResultInteractor - Renamed
runUnsafetogetOrThrowin ParameterizedResultProgressInteractor - Modifier measureTimeOnSuccess added
- Modifier cast added
1.4.1 #
Bugfixes #
Re-invocation of callback provided as parameter in checkedIntercept is now awaited when called.
Examples #
- Example of after updated
- Example of before updated
- Example for timeout added
- Example intercept added
Features #
New parameter allowMultiCatch added to the following function signatures:
Branding #
Shortened package description