pull abstract method

Future<PullEvent?> pull({
  1. bool wait = true,
})

Pull a message from the subscription.

If wait is true (the default), the method will wait for a message to become available, and will then complete the Future with a PullEvent containing the message.

If wait is false, the method will complete the returned Future with null if it finds that there are no messages available.

Implementation

Future<PullEvent?> pull({bool wait = true});