Interface: FeedReader
Defined in: bee-js/src/types/index.ts:369
FeedReader is an interface for downloading feed updates
Extended by
Properties
owner
readonly
owner:EthAddress
Defined in: bee-js/src/types/index.ts:370
topic
readonly
topic:Topic
Defined in: bee-js/src/types/index.ts:371
Methods
download()
download(
options?
):Promise
<FeedPayloadResult
>
Defined in: bee-js/src/types/index.ts:376
Parameters
options?
FeedUpdateOptions
Returns
Promise
<FeedPayloadResult
>
Deprecated
Use downloadReference
or downloadPayload
instead to disambiguate how the data should be interpreted.
downloadPayload()
downloadPayload(
options?
):Promise
<FeedPayloadResult
>
Defined in: bee-js/src/types/index.ts:386
Downloads the feed update (latest if no index is specified) and returns it as a payload.
Parameters
options?
FeedUpdateOptions
Returns
Promise
<FeedPayloadResult
>
downloadReference()
downloadReference(
options?
):Promise
<FeedReferenceResult
>
Defined in: bee-js/src/types/index.ts:381
Downloads the feed update (latest if no index is specified) and returns it as a reference.
Parameters
options?
FeedUpdateOptions
Returns
Promise
<FeedReferenceResult
>