Yes, Flyte supports a pub/sub model for task notifications. This is evident from the discussion where Kevin Su mentions that Flyte's propeller sends events to update the task and workflow table, such as status updates. Additionally, these events can also be sent to SQS (Simple Queue Service), allowing the creation of a consumer to read those events. Furthermore, it's mentioned that instead of sending events to SQS, you can use GCP Pub/Sub as well, indicating support for a pub/sub model for notifications. This mechanism allows clients to know when a workflow is completed by subscribing to these events. For more detailed information on configuring cloud events in Flyte, including using GCP Pub/Sub, you can refer to the Flyte documentation:
Cloud Event Configuration in Flyte.