Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    MicroThreadYieldAwaiter Struct

    Namespace: Stride.Core.MicroThreading
    Assembly: Stride.Core.MicroThreading.dll

    public struct MicroThreadYieldAwaiter : INotifyCompletion
    Name Description
    Constructors
    MicroThreadYieldAwaiter(MicroThread)
    Properties
    IsCompleted
    Methods
    GetAwaiter()
    GetResult()
    OnCompleted(Action)
    | Improve this Doc View Source

    Constructors


    MicroThreadYieldAwaiter(MicroThread)

    public MicroThreadYieldAwaiter(MicroThread microThread)
    Parameters
    Type Name Description
    MicroThread microThread
    | Improve this Doc View Source

    Properties


    IsCompleted

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

    Methods


    GetAwaiter()

    public MicroThreadYieldAwaiter GetAwaiter()
    Returns
    Type Description
    MicroThreadYieldAwaiter

    GetResult()

    public void GetResult()

    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