[android-components](../../../index.md) / [mozilla.components.concept.engine.prompt](../../index.md) / [PromptRequest](../index.md) / [BeforeUnload](index.md) / [onStay](./on-stay.md)

# onStay

`val onStay: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/prompt/PromptRequest.kt#L67)

callback to notify that the user wants stay in the site.

### Property

`onStay` - callback to notify that the user wants stay in the site.