## MedplumClientEventMap type

This map enumerates all the lifecycle events that `MedplumClient` emits and what the shape of the `Event` is.

**Signature:**

```typescript
export type MedplumClientEventMap = {

change: {

type: 'change';

};

offline: {

type: 'offline';

};

profileRefreshing: {

type: 'profileRefreshing';

};

profileRefreshed: {

type: 'profileRefreshed';

};

storageInitialized: {

type: 'storageInitialized';

};

storageInitFailed: {

type: 'storageInitFailed';

payload: {

error: Error;

};

};

resourceModified: {

type: 'resourceModified';

payload: ResourceModifiedEvent;

};

};
```

**References:** [ResourceModifiedEvent](/content/docs/sdk/core.resourcemodifiedevent)  
- [MedplumClientEventMap type](/content/docs/sdk/core.medplumclienteventmap#medplumclienteventmap-type/index.html)
