⚠ Experimental ⚠

This feature may get big changes in future releases. Check the changelog for update notes.

Triggers

From your application, you can push updates to GraphQL clients with .trigger.

Events are triggered by name, and the name must match fields on your Subscription Type

# Update the system with the new blog post:
MySchema.subscriptions.trigger("postAdded", {}, new_post)

The arguments are: