rx/core/observablebase.py
def sample(self, interval=None, sampler=None):
        """Samples the observable sequence at each interval.

        Examples:
            >>> res = source.sample(sample_observable) # Sampler tick sequence
            >>> res = source.sample(5000) # 5 seconds

        Args:
            source: Source sequence to sample.
            interval: Interval at which to sample (specified as an
                integer denoting milliseconds).

        Returns sampled observable sequence.
        """
        from ..operators.observable.sample import sample
        return sample(self, interval, sampler)
Samples the observable sequence at each interval.

        Examples:
            >>> res = source.sample(sample_observable) # Sampler tick sequence
            >>> res = source.sample(5000) # 5 seconds

        Args:
            source: Source sequence to sample.
            interval: Interval at which to sample (specified as an
                integer denoting milliseconds).

        Returns sampled observable sequence.
        
Samples the observable sequence at each interval.
Samples the observable sequence at each interval .
def sample(self, interval=None, sampler=None):
        from ..operators.observable.sample import sample
        return sample(self, interval, sampler)
def sample ( self , interval = None , sampler = None ) : from . . operators . observable . sample import sample return sample ( self , interval , sampler )
Samples the observable sequence at each interval.
Samples the observable sequence at each interval .
"""Samples the observable sequence at each interval.

        Examples:
            >>> res = source.sample(sample_observable) # Sampler tick sequence
            >>> res = source.sample(5000) # 5 seconds

        Args:
            source: Source sequence to sample.
            interval: Interval at which to sample (specified as an
                integer denoting milliseconds).

        Returns sampled observable sequence.
        """
self
interval
Interval at which to sample (specified as an
integer denoting milliseconds).
Interval at which to sample ( specified as an integer denoting milliseconds ) .
sampler
source
Source sequence to sample.
Source sequence to sample .
examples
>>> res = source.sample(sample_observable) # Sampler tick sequence
>>> res = source.sample(5000) # 5 seconds
>>> res = source . sample ( sample_observable ) # Sampler tick sequence >>> res = source . sample ( 5000 ) # 5 seconds