core.medplumclient.fhircastpublish_1
Home > @medplum/core > MedplumClient > fhircastPublish
MedplumClient.fhircastPublish() method
Signature:
fhircastPublish<RequiredVersionEvent extends FhircastEventVersionRequired>(topic: string, event: RequiredVersionEvent, context: FhircastEventContext<RequiredVersionEvent> | FhircastEventContext<RequiredVersionEvent>[], versionId: string): Promise<Record<string, any>>;
Parameters
Parameter | Type | Description |
---|---|---|
topic | string | |
event | RequiredVersionEvent | |
context | FhircastEventContext<RequiredVersionEvent> | FhircastEventContext<RequiredVersionEvent>[] | |
versionId | string |
Returns:
Promise<Record<string, any>>