mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-03 06:27:47 +00:00
20 lines
239 B
Go
20 lines
239 B
Go
package mqtt
|
|
|
|
import "time"
|
|
|
|
type mqtttoken struct {
|
|
err error
|
|
}
|
|
|
|
func (t *mqtttoken) Wait() bool {
|
|
return true
|
|
}
|
|
|
|
func (t *mqtttoken) WaitTimeout(time.Duration) bool {
|
|
return true
|
|
}
|
|
|
|
func (t *mqtttoken) Error() error {
|
|
return t.err
|
|
}
|