Skip to content

offer @Decorator usage for events #77

@bennsm

Description

@bennsm

current required code:

runEvent(){
    // handle event
}

onStart() {
        Events.testEvent.connect(() => {
            this.runEvent()
        });
       // other code
}

potential required code:

@testEvent()
runEvent(){
    // handle event
}

onStart(){
    // other code
}

it's so much cleaner

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain: networkingRelated to the Networking flamework moduleenhancementNew feature or requestfeedback neededA request of feedback, use cases, etc from any who may be interested in this issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions