Beispiel #1
0
    private async ValueTask EmitFileChangeEvents(FileEvent[] changeEvents)
    {
        if (changeEvents.Length == 0)
        {
            return;
        }

        await _fileEventService.Emit(changeEvents);
    }
Beispiel #2
0
 public ValueTask Emit(IEnumerable <FileEvent> fileEvents)
 {
     return(_fileEventService.Emit(WarpFileEvent(_descriptor.NameSpace, fileEvents.ToArray())));
 }