code: func (r FutureSessionResult) Receive() (*btcjson.SessionResult, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return nil, err
  	}
  
  	// Unmarshal result as a session result object.
  	var session btcjson.SessionResult
  	err = json.Unmarshal(res, &session)
  	if err != nil {
  		return nil, err
  	}
  
  	return &session, nil
  }
docs: // Receive waits for the response promised by the future and returns the
  // session result.