wait abstract method

Future<FilterEvent?> wait(
  1. {int millisecond}
)

Waits for a specified duration and returns a FilterEvent based on an event emitted by the smart contract.

  • millisecond: The duration to wait in milliseconds.

Returns a Future that completes with a FilterEvent or null.

Implementation

Future<FilterEvent?> wait({int millisecond});