autoIdAssigner<TContextData>(activity: Activity,context: Context<TContextData>,): Activity
An activity transformer that assigns a new random ID to an activity if it does not already have one. This is useful for ensuring that activities have an ID before they are sent to other servers.
The generated ID is an origin URI with a fragment which contains an activity type name with a random UUID:
https://example.com/#Follow/12345678-1234-5678-1234-567812345678
context: Context<TContextData>
The context of the activity.