forked from urdt/ussd
Added Continue bool to track whether the execution should be terminated
This commit is contained in:
parent
5e4e6a21a0
commit
762f90adf6
@ -78,7 +78,7 @@ func(f *BaseSessionHandler) Process(rqs RequestSession) (RequestSession, error)
|
||||
return rqs, err
|
||||
}
|
||||
|
||||
_ = r
|
||||
rqs.Continue = r
|
||||
return rqs, nil
|
||||
}
|
||||
|
||||
|
@ -34,6 +34,7 @@ type RequestSession struct {
|
||||
Input []byte
|
||||
Storage storage.Storage
|
||||
Writer io.Writer
|
||||
Continue bool
|
||||
}
|
||||
|
||||
type engineMaker func(cfg engine.Config, rs resource.Resource, pr *persist.Persister) engine.Engine
|
||||
|
Loading…
Reference in New Issue
Block a user