1.1.0 • Published 9 months ago

playfab_async v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

A promisify wrapper for PlayFab

The purpose is to make it easy to use async and await when working with the PlayFab SDK Both async/await and 'then().cacth()' can be used.

import {PlayFabAsync} from "playfab_async";

let res;
try {
    res = await PlayFabAsync.Client.LoginWithEmailAddress({
        Email: "some@mail.com",
        Password: "some_password"
    });
} catch (e) {
    res = e;
}
import {PlayFabAsync} from "playfab_async";

const res = PlayFabAsync.Client.LoginWithEmailAddress({
    Email: "some@mail.com",
    Password: "some_password"
}).then(e => e).catch(err => err);
1.1.0

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago