Skip to content

Raise event upon Subscription on Variable #8

@ripandy

Description

@ripandy

Goal

Make Variable to raise upon Subscription.
This implementation is meant to align SOAR's subscription behavior with R3's.

Description

R3's ReactiveProperty would publish its current value upon subscription.
Since ReactiveProperty have Value property, it aligns with SOAR's Variable.
For this reason, SOAR's Variable should have similar behavior.
On the other hand, R3's Subject doesn't have this behavior.
This aligns with SOAR's GameEvent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions