Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Integration Base class to v2 #344

Open
wants to merge 1 commit into
base: update-core-exports
Choose a base branch
from

Commits on Oct 17, 2024

  1. Lots going on here. Updating the Integraton Base class, which may nee…

    …d a different name? Basically, this loads up the class with helper methods and functions that are used by the rest of Frigg core to be able to take advantage of new updates and concepts in Frigg v2.
    
    - Removes the legacy "notify" concept with the "delegate" pattern.
    - Replaces with "send", which is similar in concept to a state machine send that XState uses. But ultimately it's sending an event to the integration instance, with data, which ultimately invokes the handler found at the "on" event register.
    - Adds an event handler registration method and flow, whereby standard/default/lifecycle events are added to the register
    - Adds user action concepts/loaders
    - Adds a few other helper functions intended to be used in various implementation moments across the framework
    - Centralizes the "Definition" concept so that there's a static definition and a dynamic constructor-based loading of instance variables and event handlers
    
    All of these should likely be combined with another few commits. And tested with the v1.3 prototyping repo.
    seanspeaks committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    37cd0b3 View commit details
    Browse the repository at this point in the history