Skip to main content
Hook to get the data of the current user in a stream.

Imports

Definition

Source: useMyMember

Parameters

streamId

  • Type: string
The id of the stream to get the current user of.

config

  • Type: ObservableConfig.FromObservable<Member>
  • Optional
Configuration options for the observable.

Return Type

The MemberModel of the current user.