public void Start(threadPool threadPool) { if (OnError == null) { threadPool.FastStart(Call, Type); } else { threadPool.FastStart(Call, OnError, Type, thread.errorType.Action); } }
public void CheckStart(threadPool threadPool) { if (Type != thread.callType.None) { if (OnError == null) { threadPool.FastStart(Call, Type); } else { threadPool.FastStart(Call, OnError, Type, thread.errorType.Action); } } }