Skip to main content

core.medplumclient.fhircastgetcontext

Home > @medplum/core > MedplumClient > fhircastGetContext

MedplumClient.fhircastGetContext() method

Gets the current context of the given FHIRcast topic.

Signature:

fhircastGetContext(topic: string): Promise<CurrentContext>;

Parameters

Parameter

Type

Description

topic

string

The topic to get the current context for. Usually a UUID.

Returns:

Promise<CurrentContext>

A Promise which resolves to the CurrentContext for the given topic.