Skip to content

Instantly share code, notes, and snippets.

@gmYusuf
Created April 30, 2021 06:04
Show Gist options
  • Save gmYusuf/bf3cdadbcdd2d3ad19ada6b5553fc405 to your computer and use it in GitHub Desktop.
Save gmYusuf/bf3cdadbcdd2d3ad19ada6b5553fc405 to your computer and use it in GitHub Desktop.
public void Fetch()
{
ITask<ConfigValues> x = agc.Fetch();
x.AddOnSuccessListener((configValues) =>
{
OnFecthSuccess?.Invoke(configValues);
});
x.AddOnFailureListener((exception) =>
{
OnFecthFailure?.Invoke(exception);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment