---
# System prepended metadata

title: Synchronous Events
tags: [Events]

---

# Synchronous Events

> * 如有錯誤處指正或任何建議，懇請留言，感謝!
> * 搭配 ChatGPT 進行翻譯，請小心服用
> * ▸ ... 為英文原文


:::spoiler ...
While not a common use case, you may occasionally need to process events synchronously.

Since Qwik processes asynchronously by default, your code must be explicitly configured for synchronous calls. This example shows how to eagerly load an event handler that processes a synchronous event.

> **Your task:** Convert the `onClick$` from asynchronous event to synchronous event by using `useClientEffect` and normal event registration.

::: 



###### tags: `Events`