語言

IScorable<Item,Score>.PrepareAsync(Item, CancellationToken) 方法

定義

進行一些非同步運算來分析該項目,產生某種不透明狀態。

public System.Threading.Tasks.Task<object> PrepareAsync(Item item, System.Threading.CancellationToken token);
abstract member PrepareAsync : 'Item * System.Threading.CancellationToken -> System.Threading.Tasks.Task<obj>
Public Function PrepareAsync (item As Item, token As CancellationToken) As Task(Of Object)

參數

item
Item

傳回

適用於