func newSTMSerializable(ctx context.Context, c *v3.Client, apply func(STM) error, dryrun bool) (*v3.TxnResponse, error) {
	s := &stmSerializable{
		stm:      stm{client: c, ctx: ctx},
		prefetch: make(map[string]*v3.GetResponse),
	}
	return runSTM(s, apply, dryrun)
}
func newSTMSerializable(ctx context.Context, c *v3.Client, apply func(STM) error, dryrun bool) (*v3.TxnResponse, error) {
	s := &stmSerializable{
		stm:      stm{client: c, ctx: ctx},
		prefetch: make(map[string]*v3.GetResponse),
	}
	return runSTM(s, apply, dryrun)
}
func newSTMSerializable ( ctx context . Context , c * v3 . Client , apply func ( STM ) error , dryrun bool ) ( * v3 . TxnResponse , error ) { s := & stmSerializable { stm : stm { client : c , ctx : ctx } , prefetch : make ( map [ string ] * v3 . GetResponse ) , } return runSTM ( s , apply , dryrun ) }
// newSTMSerializable initiates a new serialized transaction; reads within the
// same transaction attempt to return data from the revision of the first read.
newSTMSerializable initiates a new serialized transaction ; reads within the same transaction attempt to return data from the revision of the first read .