---
lang: en
title: 'API docs: core.lifecycleobserverregistry.notifygroups'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.core.lifecycleobserverregistry.notifygroups.html
---

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

[Home](./index.md) &gt; [@loopback/core](./core.md) &gt; [LifeCycleObserverRegistry](./core.lifecycleobserverregistry.md) &gt; [notifyGroups](./core.lifecycleobserverregistry.notifygroups.md)

## LifeCycleObserverRegistry.notifyGroups() method

Emit events to the observer groups

<b>Signature:</b>

```typescript
protected notifyGroups(events: (keyof LifeCycleObserver)[], groups: LifeCycleObserverGroup[], reverse?: boolean): Promise<void>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  events | <code>(keyof LifeCycleObserver)[]</code> | Event names |
|  groups | <code>LifeCycleObserverGroup[]</code> | Observer groups |
|  reverse | <code>boolean</code> |  |

<b>Returns:</b>

`Promise<void>`


