Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    EventReceiverAwaiter<T> Struct

    Namespace: Stride.Engine.Events
    Assembly: Stride.Engine.dll

    public struct EventReceiverAwaiter<T> : INotifyCompletion
    Type Parameters
    Name Description
    T
    Name Description
    Constructors
    EventReceiverAwaiter(TaskAwaiter<T>)
    Properties
    IsCompleted
    Methods
    GetResult()
    OnCompleted(Action)
    | Improve this Doc View Source

    Constructors


    EventReceiverAwaiter(TaskAwaiter<T>)

    public EventReceiverAwaiter(TaskAwaiter<T> task)
    Parameters
    Type Name Description
    System.Runtime.CompilerServices.TaskAwaiter<T> task
    | Improve this Doc View Source

    Properties


    IsCompleted

    public readonly bool IsCompleted { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Methods


    GetResult()

    public T GetResult()
    Returns
    Type Description
    T

    OnCompleted(Action)

    public void OnCompleted(Action continuation)
    Parameters
    Type Name Description
    System.Action continuation

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation