Click or drag to resize

TDengineConsume Method

Only synchronous mode, this function is used to get the result of subscription. If the interval between two calls to taos_consume is less than the polling cycle of the subscription, the API will block until the interval exceeds this cycle. If a new record arrives in the database, the API will return the latest record, otherwise it will return an empty result set with no records. If the return value is NULL, it indicates a system error.

Namespace:  TDengineDriver
Assembly:  TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax
C#
public static IntPtr Consume(
	IntPtr subscribe
)

Parameters

subscribe
Type: SystemIntPtr
Subscription object return by Subscribe(IntPtr, Boolean, String, String, SubscribeCallback, IntPtr, Int32)

Return Value

Type: IntPtr

[Missing <returns> documentation for "M:TDengineDriver.TDengine.Consume(System.IntPtr)"]

See Also