// SetMsgCallback sets a callback function that will be called by the adapter whenever a message comes from VPP.
SetMsgCallback(func(context uint32, msgId uint16, data []byte))
- // WaitReady returns func which waits until adapter is ready.
- WaitReady() func() error
+ // WaitReady waits until adapter is ready.
+ WaitReady() error
}