Home > borogove > Push > receive

Push.receive() method

Receive a new push notification from some external system

Signature:

static receive(data: string, persistence: borogove_Persistence): borogove_Notification | null;

Parameters

Parameter Type Description
data string the raw data from the push
persistence borogove_Persistence the persistence layer to write into

Returns:

borogove_Notification | null

a Notification representing the push data