Table of Contents

Delegate ChunkExecute<TChunk>

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

One chunk of a chunked system, handed the record its dispatch's prepare wrote for it — by ref, so no member call on it copies it.

public delegate void ChunkExecute<TChunk>(TickContext tick, ref TChunk chunk) where TChunk : unmanaged

Parameters

tick TickContext
One chunk of a chunked system, handed the record its dispatch's prepare wrote for it — by ref, so no member call on it copies it.
chunk TChunk
One chunk of a chunked system, handed the record its dispatch's prepare wrote for it — by ref, so no member call on it copies it.

Type Parameters

TChunk

Constructors

ChunkExecute(object, nint)

public ChunkExecute(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(TickContext, ref TChunk, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(TickContext tick, ref TChunk chunk, AsyncCallback callback, object @object)

Parameters

tick TickContext
chunk TChunk
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(ref TChunk, IAsyncResult)

public virtual void EndInvoke(ref TChunk chunk, IAsyncResult result)

Parameters

chunk TChunk
result IAsyncResult

Invoke(TickContext, ref TChunk)

public virtual void Invoke(TickContext tick, ref TChunk chunk)

Parameters

tick TickContext
chunk TChunk