blob: 7592aa2e4224a1ea9420c2af9e8fdf94042452de [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// +build !build_with_native_toolchain
package main
import (
"context"
lib "fidl/fidl/test/protocoleventremove"
)
// [START contents]
func expectEvents(c *lib.ExampleWithCtxInterface) {
_ = c.ExpectOnExistingEvent(context.Background())
_ = c.ExpectOnOldEvent(context.Background())
}
func sendEvents(p *lib.ExampleEventProxy) {
_ = p.OnExistingEvent()
_ = p.OnOldEvent()
}
// [END contents]
func main() {}