ReferenceContext.CreateEvent

Declaration

public LightTransport.EventID CreateEvent();

Returns

EventID ID of newly created event.

Description

Creates a new event.

The event may be passed to IDeviceContext.ReadBuffer and IDeviceContext.WriteBuffer to track when the corresponding read or write finishes. Once the event is no longer needed, it should be destroyed using IDeviceContext.DestroyEvent.


Did you find this page useful? Please give it a rating: