Skip to content

Testing realtime triggers #53

Description

I am having problems testing a realtime trigger locally.

That is mainly because the shutdown() function is called immediately after process(). Because of that, the realtime trigger has no time to receive external data.
In contrast, in the platform, shutdown() function is only called when the user manually stops the realtime flow.

It would be useful to be able to specify a duration after which the shutdown function is called (e.g. 5 seconds). This would better mimic the behavior of realtime flows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions