aboutsummaryrefslogtreecommitdiffstats
path: root/adapter/adapter.go
diff options
context:
space:
mode:
Diffstat (limited to 'adapter/adapter.go')
-rw-r--r--adapter/adapter.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/adapter/adapter.go b/adapter/adapter.go
index 2843d2c..a5b3352 100644
--- a/adapter/adapter.go
+++ b/adapter/adapter.go
@@ -30,4 +30,7 @@ type VppAdapter interface {
// 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 waits until adapter is ready.
+ WaitReady() error
}