Skip to main content

Interface: FeedReader

Defined in: bee-js/src/types/index.ts:409

FeedReader is an interface for downloading feed updates

Extended by​

Properties​

owner​

readonly owner: EthAddress

Defined in: bee-js/src/types/index.ts:410


topic​

readonly topic: Topic

Defined in: bee-js/src/types/index.ts:411

Methods​

download()​

download(options?): Promise<FeedPayloadResult>

Defined in: bee-js/src/types/index.ts:416

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:426

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:421

Downloads the feed update (latest if no index is specified) and returns it as a reference.

Parameters​

options?​

FeedUpdateOptions

Returns​

Promise<FeedReferenceResult>

💬 Get Help