logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecordingEventDispatcherServiceTests

    Guards RecordingEventDispatcherService against the race that flaked BlobScreenshotUnlockFlowTests.Unlock_StoresTheFrameAndStampsItsKeyOnTheRecordAndTheSignal: a fire-and-forget dispatch resuming on a thread-pool thread, mutating the same list the test thread was enumerating.

    Inheritance
    object
    RecordingEventDispatcherServiceTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Tests.Shared
    Assembly: Tests.dll
    Syntax
    public class RecordingEventDispatcherServiceTests

    Constructors

    RecordingEventDispatcherServiceTests()

    Declaration
    public RecordingEventDispatcherServiceTests()

    Methods

    Dispatch_WithASubscriber_StillInvokesItWithTheDispatchedSignal()

    Declaration
    public void Dispatch_WithASubscriber_StillInvokesItWithTheDispatchedSignal()

    Dispatch_WithReenterOnDispatchSet_DoesNotReenterOnTheNestedDispatch()

    Declaration
    public void Dispatch_WithReenterOnDispatchSet_DoesNotReenterOnTheNestedDispatch()

    Dispatch_WithReenterOnDispatchSet_FiresOnceAndRecordsTheReentrantDispatch()

    Declaration
    public void Dispatch_WithReenterOnDispatchSet_FiresOnceAndRecordsTheReentrantDispatch()

    Dispatch_WithThrowOnDispatchSet_ThrowsInsteadOfRecording()

    Declaration
    public void Dispatch_WithThrowOnDispatchSet_ThrowsInsteadOfRecording()

    Dispatch_WithThrowOnDispatchSet_ThrowsOnEveryCall()

    Declaration
    public void Dispatch_WithThrowOnDispatchSet_ThrowsOnEveryCall()

    DispatchedSignals_ReadAfterAFurtherDispatch_KeepsTheEarlierSnapshotUnchanged()

    Declaration
    public void DispatchedSignals_ReadAfterAFurtherDispatch_KeepsTheEarlierSnapshotUnchanged()

    SignalsOf_WhileAnotherThreadDispatches_NeverThrowsAndRecordsEveryDispatch()

    Declaration
    public Task SignalsOf_WhileAnotherThreadDispatches_NeverThrowsAndRecordsEveryDispatch()
    Returns
    Type Description
    Task
    In this article
    © 2026 Serenity. All Rights Reserved