ICustomerListEntriesProvider
Used to provide responses to commands requesting customer managed list data.
Methods
addCustomerListChunk()
addCustomerListChunk(
listType
,entries
):void
Adds customer managed list data to response.
Use repeated calls to addCustomerListChunk
to paginate data to prevent loading large lists into memory.
Must eventually be followed by a call to commit()
after all customer managed list entries have been sent.
Parameters
listType
The type of customer managed list being sent(ie. watchlist)
entries
A list of entries for the customer managed list.
Returns
void
commit()
commit():
void
Indicates the end of responses.
Must be called after the final call of addCustomerListChunk
.
Returns
void
Last updated: Sep 30, 2025