MemberSpace.getMemberMetadata

An Asynchronous function (returns a Promise), which resolves with the member's metadata.

// Using async-await
const fn = async () => {
    const metadata = await MemberSpace.getMemberMetadata();

    console.log(metadata);
};

// Using Promise chaining
MemberSpace
  .getMemberMetadata()
  .then(metadata => {
    console.log(metadata);
  });

Last updated