Click or drag to resize

V8FastHostObjectConfiguration<TObject>.SetAsyncEnumeratorFactory(Func<TObject, IV8FastAsyncEnumerator>) Method

Sets a callback that creates an asynchronous enumerator for a TObject instance in IV8FastAsyncEnumerator form.

Namespace: Microsoft.ClearScript.V8.FastProxy
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
public abstract void SetAsyncEnumeratorFactory(
	Func<TObject, IV8FastAsyncEnumerator> factory
)

Parameters

factory  Func<TObject, IV8FastAsyncEnumerator>
A callback that creates an asynchronous enumerator for a TObject instance in IV8FastAsyncEnumerator form.
See Also