U vâ’iS ã @ s\ d dl mZmZmZmZ d dlmZmZ edƒZe eee gee f dœdd„Z dgZdS )é )ÚCallableÚListÚOptionalÚTypeVar)Ú ObservableÚabcÚ_T)ÚcountÚreturnc s t t t t dœ‡ fdd„}|S )N)Úsourcer c s0 dt jt tt j t jdœ‡‡ fdd„ }t|ƒS )aŸ Returns a specified number of contiguous elements from the end of an observable sequence. Example: >>> res = take_last(source) This operator accumulates a buffer with a length enough to store elements count elements. Upon completion of the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. Args: source: Number of elements to take from the end of the source sequence. Returns: An observable sequence containing the specified number of elements from the end of the source sequence. N)ÚobserverÚ schedulerr c s<