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

ParameterTypeDescription
topicstringThe topic to get the current context for. Usually a UUID.

Returns:

Promise<CurrentContext>

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