public IAsyncResult BeginRead(AsyncCallback callback) { _trigger.Reset(); Thread.Sleep(2); _trigger.Set(); callback(_trigger); return(_trigger); }
public IAsyncResult BeginRead(AsyncCallback callback) { _trigger.Reset(); Thread.Sleep(2); _trigger.Set(); callback(_trigger); return(_trigger); }