Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main/java/crosscuttingconcerns Simplify example (remove flow) Jul 29, 2019
README.md
build.gradle Prepare requirementsascodecore for Maven Central deploy etc. Aug 3, 2017

README.md

cross-cutting concerns example - measure performance of system reactions

	public void start() {
		Model model = Model.builder()
			.user(RequestCalculating.class).system(this::calculate)
		.build();

		ModelRunner modelRunner = new ModelRunner();
		modelRunner.handleWith(this::measuresPerformance);
		modelRunner.run(model).reactTo(new RequestCalculating());
	}

For the full source code, look here.

You can’t perform that action at this time.