---
order: 4
title:
  zh-CN: 结束事件
  en-US: Customize duration
---

## zh-CN

可通过订阅 `onClose` 事件在 message 关闭时做出某些操作。以上用例将依次打开三个 message。

## en-US

You can subscribe to `onClose` event to make some operations. This case would open three messages in sequence.

