LastOrDefault Operator Overview Similar to Last, but you pass it a default item that it can emit if the source Observable fails to emit any items. Example observable := rxgo.Empty().LastOrDefault(1) Output: 1 Options WithBufferedChannel WithContext WithObservationStrategy WithErrorStrategy WithPublishStrategy