// GetAsyncReader returns the current AsyncReader or nil if Account is unbuffered
GetAsyncReader returns the current AsyncReader or nil if Account is unbuffered
// GetAsyncReader returns the current AsyncReader or nil if Account is unbuffered
func (acc *Account) GetAsyncReader() *asyncreader.AsyncReader {
	acc.mu.Lock()
	defer acc.mu.Unlock()
	if asyncIn, ok := acc.in.(*asyncreader.AsyncReader); ok {
		return asyncIn
	}
	return nil
}
func ( acc * Account ) GetAsyncReader ( ) * asyncreader . AsyncReader { acc . mu . Lock ( ) defer acc . mu . Unlock ( ) if asyncIn , ok := acc . in . ( * asyncreader . AsyncReader ) ; ok { return asyncIn } return nil }
GetAsyncReader returns the current AsyncReader or nil if Account is unbuffered
GetAsyncReader returns the current AsyncReader or nil if Account is unbuffered