Skip to content

Commit

Permalink
Initial value to MutSub
Browse files Browse the repository at this point in the history
  • Loading branch information
PukPukov committed Dec 10, 2023
1 parent e7fa06f commit c0c1a75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/ru/ancap/commons/instructor/common/MutSub.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
package ru.ancap.commons.instructor.common;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import ru.ancap.commons.instructor.EventBus;
import ru.ancap.commons.instructor.SimpleEventBus;

/**
* Subscribe to field mutation.
*/
@NoArgsConstructor @AllArgsConstructor
public class MutSub<T> {

public final EventBus<T> onChange = new SimpleEventBus<>();
Expand Down

0 comments on commit c0c1a75

Please sign in to comment.