arch/base/base_instance_part library
Classes
-
BaseInstancePart<
Input, T extends KoreInstance> - Base class for parts Parts are smallest kore instances They do not have state or dependencies But they can receive events and contain other parts inside Part also contain reference to parent instance and root parent instance of parts tree You can specify input type for part Parts must be annotated with instancePart annotation You also can execute requests and cancel them automatically when part will be disposed with ApiCaller.executeAndCancelOnDispose method
-
RestrictedInstancePart<
Input, T extends KoreInstance> - BaseInstancePart that applies to given KoreInstance subtype
-
UniversalInstancePart<
Input> - BaseInstancePart that applies to every KoreInstance subtype