Skip to content

Instantly share code, notes, and snippets.

@zHaytam
Last active March 21, 2021 11:04
Show Gist options
  • Save zHaytam/930f5b11c0f1162b8d5f98713c0eb158 to your computer and use it in GitHub Desktop.
Save zHaytam/930f5b11c0f1162b8d5f98713c0eb158 to your computer and use it in GitHub Desktop.
public EventCallback Create(object receiver, Func<Task> callback);
public EventCallback Create(object receiver, Func<object, Task> callback);
public EventCallback<TValue> Create<TValue>(object receiver, EventCallback callback);
public EventCallback<TValue> Create<TValue>(object receiver, EventCallback<TValue> callback);
public EventCallback<TValue> Create<TValue>(object receiver, Action callback);
public EventCallback<TValue> Create<TValue>(object receiver, Action<TValue> callback);
public EventCallback<TValue> Create<TValue>(object receiver, Func<Task> callback);
public EventCallback<TValue> Create<TValue>(object receiver, Func<TValue, Task> callback);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment