<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def async_poller(client, initial_response, deserialization_callback, polling_method):
 """Async Poller for long running operations. :param client: A msrest service client. Can be a SDK client and it will be casted to a ServiceClient. :type client: msrest.service_client.ServiceClient :param initial_response: The initial call response :type initial_response: msrest.universal_http.ClientResponse or msrest.pipeline.ClientRawResponse :param deserialization_callback: A callback that takes a Response and return a deserialized object. If a subclass of Model is given, this passes "deserialize" as callback. :type deserialization_callback: callable or msrest.serialization.Model :param polling_method: The polling strategy to adopt :type polling_method: msrest.polling.PollingMethod """


    try:
        client = client if isinstance(client, ServiceClientAsync) else client._client
    except AttributeError:
        raise ValueError("Poller client parameter must be a low-level msrest Service Client or a SDK client.")
    response = initial_response.response if isinstance(initial_response, ClientRawResponse) else initial_response

    if isinstance(deserialization_callback, type) and issubclass(deserialization_callback, Model):
        deserialization_callback = deserialization_callback.deserialize

    # Might raise a CloudError
    polling_method.initialize(client, response, deserialization_callback)

    await polling_method.run()
    return polling_method.resource()