---
lang: en
title: 'API docs: core.lifecycleobserver.stop'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/core
permalink: /doc/en/lb4/apidocs.core.lifecycleobserver.stop.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/core](./core.md) &gt; [LifeCycleObserver](./core.lifecycleobserver.md) &gt; [stop](./core.lifecycleobserver.stop.md)

## LifeCycleObserver.stop() method

The method to be invoked during `stop`

<b>Signature:</b>

```typescript
stop?(): ValueOrPromise<void>;
```
<b>Returns:</b>

[ValueOrPromise](./context.valueorpromise.md)<!-- -->&lt;void&gt;


