Skip to content

[FEAT] Add a way to check if an event is connected to #190

@howmanysmall

Description

@howmanysmall

Describe your feature

If you so much as forget to implement one event, your entire game just spirals into a death loop of errors. It makes debugging which specific events are unimplemented impossible until you manage to hit that. It would be nice to have a function that I can call with IsConnectedTo() after a delay to make sure everything is connected to.

Would also help with cleaning up old unused code.

Alternatives

I have just been monkeypatching this stuff into the API. There's no other alternative.

Implementation Details

-- for ManyAsync:
		IsImplemened = function(): boolean
			return #reliable_events[1] > 0
		end;
-- For SingleAsync
		IsImplemened = function(): boolean
			return reliable_events[1] ~= nil
		end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions