Skip to content

Packages  ›  trotsky  ›  ActorMixins

ActorMixins class

A mixin class providing reusable actor-related methods to extend step functionality. These methods append specific actor-related steps to the current chain.

Signature:

typescript
export declare abstract class ActorMixins<P, C, O> extends Step<P, C, O>

Extends: Step<P, C, O>

Methods

Method

Modifiers

Description

block()

Appends a step to block the current actor.

follow()

Appends a step to follow the current actor.

followers()

Appends a step to fetch the followers of the current actor.

followings()

Appends a step to fetch the followings of the current actor.

likes()

Appends a step to fetch the liked posts of the current actor.

lists()

Appends a step to fetch the lists of the current actor.

posts()

Appends a step to fetch the posts of the current actor.

streamPosts()

Appends a step to stream the posts of the current actor.

unblock()

Appends a step to unblock the current actor.

unfollow()

Appends a step to unfollow the current actor.