StreamingContext.
awaitTermination
Wait for the execution to stop.
time to wait in seconds
previous
pyspark.streaming.StreamingContext.addStreamingListener
next
pyspark.streaming.StreamingContext.awaitTerminationOrTimeout