What are triggers in Spark structured streaming?

Triggers handle the running of stream applications, for instance, running stream applications every 10 seconds or continuously, or only once. This enables Spark to execute jobs in micro-batches or as continuous streams.