setTimeout method

Socket setTimeout(
  1. dynamic timeout, [
  2. void callback()
])

Implementation

external Socket setTimeout(timeout, [void Function() callback]);