Hookless - Reactive programming for Java
Hookless is a reactive programming library for Java. It automatically runs dependent reactive computations whenever change is detected in any of their dependencies. It is nearly completely transparent to application code, because it tracks dependencies implicitly via thread-local context object.
Download
Get Hookless from Maven Central:
Tool
<dependency> <groupId>com.machinezoo.hookless</groupId> <artifactId>hookless</artifactId> <version>0.16.1</version> </dependency>
Or clone sources from GitHub or Bitbucket. Don't forget to configure your build for Java 17+. Sources and binaries are distributed under Apache License 2.0.
If your project is a Java module,
add the following declaration to your module-info.java
:
requires com.machinezoo.hookless;
Next steps
- Read about concepts behind Hookless design.
- Check out existing reactive adapters.
- Use javadoc for reference.
- Consider contributing bug reports and pull requests.