@spacehq/sdk > AddItemsResponse > once
AddItemsResponse.once property
this function should only be used to listen for the 'done'
event, since the listener would only be called once. or else you could end up having functions leaking (unless you explicitly call the off()
function).
Signature:
once: (type: AddItemsEventType, listener: AddItemsListener) => void;