register

Register data into an object storage identified by implemented interface.

Wraps up any copy-by-value data into an object, and saves it into storage by it's type.

Parameters

Interface

interface that object implements

Type

the type of object registered in storage

storage Storage!(Object, string)

the storage were data is saved

data Type

actual data to be saved

Return Value

Type: auto

the storage were data was saved.

Meta