函数原型

func (reverse reverseType) wait(timeout int) bool

参数介绍

参数名称参数介绍
reverse该函数是reverseType结构体的方法,所以只能由该结构体的变量调用该方法
timeout告诉扫描器要等待多长时间

举例

Was this page helpful?