core.medplumclient.fhircastgetcontext | Medplum

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.