(string file)
| 443 | private SemaphoreSlim semaphore = new SemaphoreSlim(1, 1); |
| 444 | |
| 445 | private async Task WriteToTextFile(string file) |
| 446 | { |
| 447 | await semaphore.WaitAsync(); |
| 448 | try |
| 449 | { |
| 450 | // System.Diagnostics.Process.Start("cmd.exe", "/c " + sWavDir + @"\copyimage.bat " + file); |
| 451 | } |
| 452 | finally |
| 453 | { |
| 454 | semaphore.Release(); |
| 455 | } |
| 456 | } |
| 457 | |
| 458 | private async Task SendWebhookAndWriteToFile(string message, string ticker, string price, string file) |
| 459 | { |
nothing calls this directly
no outgoing calls
no test coverage detected