typespec-azure-core's LroMetaData contains pollingInfo. Currently Java emitter will use the pollingInfo.responseModel to get polling type and calculate which polling strategy to use. More details can be found in Java emitter's logic.
I guess other languages also needs polling info. So it's better to have TCGC to add polling info instead of using raw LroMetaData. For now, Java emitter only needs polling response type.
Not sure what polling info other language needs, language owners, please feel free to use this issue to add your requirements.
thanks for starting the conversation @haolingdong-msft, we purposefully didn't add too much information to start with, so our plan was always to add what emitters need here
typespec-azure-core
'sLroMetaData
containspollingInfo
. Currently Java emitter will use thepollingInfo.responseModel
to get polling type and calculate which polling strategy to use. More details can be found in Java emitter's logic.I guess other languages also needs polling info. So it's better to have TCGC to add polling info instead of using raw LroMetaData. For now, Java emitter only needs polling response type. Not sure what polling info other language needs, language owners, please feel free to use this issue to add your requirements.