Reactive Extensions: Elapsed Time
I’m using SqlBulkCopy to insert a large number of rows into a database table.
I used Observable.FromEvent to hook the SqlRowsCopied event. Rx provides
the .TimeStamp() method, but I wanted to know the elapsed time, so I did the
following: