Example #1
0
func cont(client service.Client, args ...string) error {
	state, err := client.Continue()
	if err != nil {
		return err
	}
	printcontext(state)
	return nil
}
Example #2
0
func cont(client service.Client, args ...string) error {
	stateChan := client.Continue()
	for state := range stateChan {
		if state.Err != nil {
			return state.Err
		}
		printcontext(state)
	}
	return nil
}