Skip to content

agent


@tsky/client / agent / Suggestion

Suggestion ​

Defined in: client/src/agent.ts:909

Constructors ​

new Suggestion() ​

ts
new Suggestion(client): Suggestion

Defined in: client/src/agent.ts:910

Parameters ​

client ​

Client

Returns ​

Suggestion

Methods ​

afterFollowing() ​

ts
afterFollowing(actor, options?): Promise<Output>

Defined in: client/src/agent.ts:938

Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.

Parameters ​

actor ​

string

options? ​

RPCOptions

Returns ​

Promise<Output>


feeds() ​

ts
feeds(limit?, options?): Promise<Paginator<Output>>

Defined in: client/src/agent.ts:958

Get a list of suggested feeds (feed generators) for the requesting account.

Parameters ​

limit? ​

number

options? ​

RPCOptions

Returns ​

Promise<Paginator<Output>>


follow() ​

ts
follow(limit?, options?): Promise<Paginator<Output>>

Defined in: client/src/agent.ts:915

Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.

Parameters ​

limit? ​

number

options? ​

RPCOptions

Returns ​

Promise<Paginator<Output>>