3 using System.Collections.Immutable;
4 using System.Threading.Tasks;
14 if (!friendOption.TryUnwrap(out var
friend)) {
return Option.None; }
17 return Option.Some(
friend);
abstract Task< Option< FriendInfo > > RetrieveFriend(AccountId id)
abstract Task< ImmutableArray< FriendInfo > > RetrieveFriends()
abstract Task< Option< Sprite > > RetrieveAvatar(FriendInfo friend, int avatarSize)
async Task< Option< FriendInfo > > RetrieveFriendWithAvatar(AccountId id, int size)
abstract Task< string > GetSelfUserName()